x is the height of the ladder.
Two similar triangles are formed, then their corresponding sides satisfy the next proportion:
Solving for x,
5.1m questions
6.7m answers