A rectangular building measures 39` x 57` there is a 2` roof overhang on all sides. What is the length of the ridge if the building has a hip roof.

A rectangular building measures 39` x 57` there is a 2` roof overhang on all sides. What is the length of the ridge if the building has a hip roof.