4 and 5
hope this helped in some way..
Pythagorean theorem is

and using that sin is opposite/hypotenuse, you can find the third side of the triangle.

now you know adjacent is 60, so cos=60/61
Try attaching a picture of 24 so we can help
The picture is omitting the question