I'm not the greatest conceptual thinker and having a hard time starting this problem. Is the mean value theorem applied or will I use something else?

Let and be differentiable functions on [a,b] where (a)=(a) and (b)=(b). Prove that there is at least one value c in (a,b) where the tangent line to atcis parallel to the tangent line to atc.