Suppose xe^-x=(x-1)^2

Use the Mean value theorem to show that this equation has exactly two solutions...

Well I know the mean value theorem is

f'(c)= f(b)-f(a)/b-a

this is the f'(x)

how do we use the first derivative to show a solutions ??

Once again sorry guys- I'm just first year maths student :)

I'm just doing past papers and like they never taught us how to use mean value theorem but its in the exam ???????????

The notes only go in brief ?