Here's another way.
GCD(a,b)=1 implies that a and b have unique (non-overlapping) prime factorizations. Otherwise, both would share a prime factor and have a GCD of at least that factor.
Say a=P1*P2*P3*...*Pn, and b=R1*R2*R3*...*Rm where Pi and Rj are primes, and Rj does not equal Pi for any i,j.
Since a and b divide c, all the primes Pi from a must appear in the prime factorization of c. Likewise, all the primes from Rj from b must appear in the prime factorization of c. Since no prime from a is the same as any prime from b (and obviously, vise versa), c can be written as k(P1*P2*...Pn)(R1*R2*...*Rm) where k is some integer. Thus c=k(a)(b) which is what we need.