The roof of a building is 9 m high. A rope is tied from the roof to a peg on the ground 12 m away from the wall. What is the length of the rope?