Let n be the number of hats they sell
We are ask to multiply n by the money they make for each hat
From the question, eah hat costs $4
so we are going to multiply 4 by n which will give 4n
Also we are to subtract the advertising cost.
The advertising cost is $50
so the expression becomes 4n - $50
And the equation is
$10 = 4n - $50