Hi there. I wonder if anyone can help me understanding and solving this?

Thank you!

The minute hand on a clock is 8 cm long and the hour hand is 5 cm long. Give an expression for d, the distance between the tips of the hands, in terms of a, the angle between the hands.