Respuesta :
Answer:
number of pens bought by John = 15
Step-by-step explanation:
John bought 24 pens and pencils. There were 6 more pens than pencils.
LEt x be the number of pens
and y be the number of pencils
John bought 24 pens and pencils. so x+y = 24 (equation 1)
There were 6 more pens than pencils.
pens= 6 more than pencils
x= y+6 (equation 2)
Now we solve for x and y
Substitute equaton 2 in equation 1
x+ y =24
y+6+y = 24
2y+6 = 24
subtract 6 from both sides
2y = 18 ( divide by 2)
y=9
x= y+ 6 (plug in y =9)
x= 9+6 = 15
So number of pens bought by John = 15