The cost of a layer cake is $17 plus $5 per layer. If Paul has only $30 to spend on a cake, what is the most number of layers he can afford?
(Show how to solve it)