An 8 metre ladder is put up against a wall.

A): how far up the wall will it reach when the foot of the ladder is 1 metre away from the wall?

B): when it reaches 7 metres up the wall, how far is the ladder away from the wall?

if possible can you show the answer