A rectangle is divided into smaller rectangles as shown. Several of the small rectangles are labelled with their area. Find x.