Draw the diagram. (a right angled triangle) the ladder is the hypotenuse.
the angle you have been given is at the top of the triangle.
you need to find the other two sides.
Use cos to find the height up the wall.
Use sin to find the ground distance. :))