In the figure, OABC is a rectangle. A and C are points lying on the x-axis
and the y-axis respectively. D is a point lying on OA such that AD = 40D.
Prove that ABCD is a right-angled triangle.