The diagram shows two joined rectangles. The total area of the compound shape ABCDEF is 36 cm^2. By considering the areas of the two rectangles, show that
2x^2 - 5x - 18 = 0 and hence find the value of length AB.
