Pats garden is shaped like a rectangle with two pair of sides of equal length, and it has a perimeter of 28 feet. Explain how to find the lengths of the other sides if one side measures 10 feet.