Aand B both have some pencils . if A gives 10 pencils to B then B will have twice as many as A. and if B gives 10 pencils to A then they will have the same number of pencils . How many pencils does each have?
Answers
Answered by
1
Answer:
Step-by-step explanation:
Answered by
5
Answer:
A has 20 and B has 30 pencils
Step-by-step explanation:
let A has x pencils and B have y pencils.
Given that,
y+10=2x
2x-y=10 -- 1
Also given that,
x+10=y
x-y=-10 -- 2
By 1 and 2,
2x-y=10
x-y=-10
subtracting above equations,
x=20
x-y=-10
y=x+10=20+10=30
y=30
Thus A has 20 and B has 30 pencils.
Similar questions