You can put this solution on YOUR website! Since the "locksmith charges $40 plus $28 for each lock installed", this means that the cost equation is (note: plug in some values of x so that you have some examples)
Start with the given equation
Since the cost is $236, this means that we need to plug in
Subtract 40 from both sides
Combine like terms.
Divide both sides by 28 to isolate x
So the answer is which means that 7 locks can be replaced for $236.