The area of a rectangular blanket in square centimetersis 40x^2+2x-65. The width is 4x-5cm^2. Find the dimensions of the blanket in terms of x.