The area of a rectangle is 77 ft2 , and the length of the rectangle is 10 ft less than three times the width. find the dimensions of the rectangle.