Let 'x' be the number of books that cost $4 and let 'y' be the number of books that cost $2. Since Courtney purchased 87 books, then we have the following equation:
also, she spent a total of $200, then, we have the next equation:
we want to know how many $4 books Courtney bought. Then, in the first equation, we can solve for y to get the following:
if we substitute this equation on the second equation, we get:
therefore, Courtney purchased 13 books that cost $4