For this chain-of-thought reasoning and answer, what was the question?
He earned 5 x $100 = $500 for the large painting. And he earned 8 x $80 = $640 for the small paintings. Therefore, he earned a total of $500 + $640 = $1140 in all.
 A: 1140
Q: Michael loves to paint and sells his creations. He charges $100 for a large painting and $80 for a small painting. At his last art show, he sold 5 large paintings and 8 small paintings. How much did he earn in all?