The perimeter of a rectangle is 40 inches the width is 8 inches shorter than the length find the dimensions of the rectangle