x=number of cartridges you can buy

221=$ you have in total to spend

17=cost of one cartridge

x*17=221

x*17/17=221/17

x=221/17

x=13