Two bodies X and Y are projected on the same horizontal plane, with the same…