a tailor trims 7 feet from opposite edges of a square piece of cloth , and 5 feet from the other two edges . if 45 square feet of cloth remain , what was the length of a side of the original piece of cloth ?