Show mathematically that to produce an image that is the same size as the object in a concave mirror, the object needs to be at twice the focal length from the mirror.

I have a test tomorrow and I really don't understand this question, please help me.