Yolanda earns 9 dollars each hour working part-time at a bookstore. She earns one additional dollar for each book that she sells.

Let A be the amount (in dollars) that Yolanda earns in an hour if she sells B books.

Write an equation relating A to B.

A = 9 + B