Each bike has two tires, while each quad has four tires. Therefore the number of tires Ruby has to other is given by the number of tires used by the bikes added by the number of tires used by the quads. This is shown on the expression below:
[tex]\text{tires}=2\cdot b+4\cdot q[/tex]