The hardcover version of a book weighs 7 ounces while its paperback version weighs 5 ounces. Forty-five copies of the book weigh a total of 249 ounces.

A table titled Weight of Books showing Number of Books, Weight per book in ounces, and Total Weight in ounces. The first row shows Hard Cover, with h, 7, and 7 h. The second row shows Paperback, with 45 minus h, 5, and x. The third row shows Total, with 45, blank, and 249.
Which value could replace x in the table?

40 – h
50 – h
5(45) – h
5(45 – h)