If the meal costs $36 + k$ dollars the owner will have $200 - 4k$ costumers.
So he will make $(36 + k)(200 - 4k)$ dollars.
What is the highest possible value of $(36+k)(200-4k)$?
.....
$(36+k)(200-4k) = 7200 + 56k - 4k^2=$
$7200 - (4k^2 -56k) = $
$7200 - ((2k)^2 - 2*2k*14) =$
$7200 + 32^2 - ((2k)^2 - 2*2k*32 + 14^2) =$
$7200 + 196 - (2k - 14)^2 =$
$7396 - (2k-14)^2 \le 8224$.
So if $(2k-14)^2 > 0$ we will have that $7396-(2k-14)^2 < 7396$.
If $(2k-32)^2 = 0$ we will have that $7396-(2k-14)^2 = 7396$.
If $(2k-14)^2 < 0$ we will have broken the laws of space and time and will all die horribly, alone, and in pain.
So the maximum profit revenue is $7396$ when $2k -14=0$.
SO if $k =7$ and he charges $36+7 = 43$ he will make the most money.
But he will lose $28$ costumers. Hard luck for them I guess..... All for just $196$.... Oh, $196$ per night is a significant amount of money. To heck with those $28$ cheapskates...