The picture shown us the leg room of economy class on Boeing 787-8 Dreamliner of American Airlines. Pretty spacious as well as comfort, thanks to 18 inch width and 31 inch of leg room.
While the second picture shown us the rear view of economy class of Boeing 787-8 of American Airlines. It has 3-4-3 seating configuration, every seat has personal flight entertainment systems. American Airlines able to carry about 141 passengers for economy class, if you have extra money, you can upgrade to main cabin extra, in which has 5 inches longer compare to leg room in standard economy class.
While the last two pictures shown the configuration seats of business class on Boeing 787-8 Dreamliner of American Airlines. There is unique configuration that emphasize the privacy on each passengers, so the interaction between passengers are set to the minimum level. Speaking of space, business class offer up to 77 inch leg room and 26 inch width of seats. This seat able to flat into fully-bed conditions, so you can laying off during your flight. American Airlines provides only 28 seats on business class.