In a square,the sum of the length of three sides is 48 and in a rectangle the difference between a length and width is 7 in if a width of the rectangle is the same as a side of the square how long is length of the rectangle.