John owns a hot dog stand. His profit, in dollars, is given by the equation P(x) = -x + 10x + 34, where x is the number of hot dogs sold. What is the most he can earn?
O A. $39
OB. $59
O C. $99
O D. $25
