Answer:
20 pastries
Explanation:
It is a system of equations.
1. write equations:
2c+3p=120
c+p=50
2. cancel out a variable
-2(c+p=50) ---------- -2c+-2p= -100
3. solve for p
p=20