Question 1005965
Let x be the number of pairs of shoes he sells.  Then we set up
40 + 4.5x = 112
4.5x = 72
x = 16 pairs