John buys a certain number of toy cars and three times as many toy lorries. He pays R30 for each car and R42 for each lorry. He spent R1 092 in total

Calculate how many toys he bought altogether

John bought x cars and 3x lorries

so, adding up the total cost,
30x + 42*3x = 1092
Now just find x, and thus get the total # of toys.

X cars.

3x lorries..

30*x + 42*3x = 1092.
X =
3x =

x + 3x = total cars.

To find out how many toys John bought in total, we need to set up an equation based on the given information.

Let's assume that John bought "x" toy cars.

According to the problem, John bought three times as many toy lorries as toy cars, so he bought 3x toy lorries.

The cost of each toy car is R30, so the total cost of the toy cars is 30x.

The cost of each toy lorry is R42, so the total cost of the toy lorries is 42 * 3x = 126x.

The total cost of all the toys is given as R1,092.

Therefore, our equation becomes:

30x + 126x = 1,092

Combining like terms:

156x = 1,092

To solve for "x", we divide both sides of the equation by 156:

x = 1,092 / 156

x = 7

So John bought 7 toy cars.

To find the number of toy lorries he bought, we can substitute the value of x back into our equation:

3x = 3 * 7 = 21

Therefore, John bought 7 toy cars and 21 toy lorries in total.