Jonah is buying packages of gumballs with 10 each. His bought bag him a large bag with 38 gumballs in it. Now he has 158 gumballs. How many packages did he buy? Use algebra to determine the answer. * 2 points 19 3 7 12

Let's assume the number of packages Jonah bought is represented by variable x.

Each package contains 10 gumballs, so the total number of gumballs from the packages is 10x.

If we add the 38 gumballs from the large bag, the total number of gumballs becomes 10x + 38.

We know that the total number of gumballs is 158, so we can set up the equation:

10x + 38 = 158

Subtracting 38 from both sides:

10x = 158 - 38
10x = 120

Dividing both sides by 10:

x = 120/10
x = 12

Therefore, Jonah bought 12 packages of gumballs.