you first need to figure out if all the triangles are the same and multiply the hypotonus by 2 to get the length of the ladder
the length of the shortest ladder that will reach from the ground over the fence to the wall of the building would be :
16.65 Ft
i hope this helps you out