the length of a rectangle is 31 inches greater than twice the width. if the diagonal is 2 inches more than the length find the dimensions of the rectangle