A rigid rod of length a + b is constrained to move in such a way that its two ends stay on the coordinate axes. Show that the point P on the rod traces out an ellipse (refer to attachment).

I have no idea how to start this question. Could someone please help?