Mario is constructing a frame for a 10inches by 8inches photo. He wants the frame to be the same width all the way around and the total area of the frame and the photo to be 120 square inches. What are the dimensions of the frame?