John bought a total of 30 white and brown pens for a total of $32. The cost of each white pen is 70 cents more than the cost of each Brown pen. Which would be the possible value of the cost of each Brown pen( in cents)?

Please help me in forming a equation.

w+b=30

(c+.70)w+C*b=32

To solve this problem, let's start by assigning variables to the unknown quantities. Let's say the cost of each brown pen is "x" cents.

Since each white pen costs 70 cents more than each brown pen, the cost of each white pen would be "x + 70" cents.

Now, let's calculate the total cost of the pens. John bought a total of 30 pens, which means 30 pens in total. Out of these, there were "w" white pens and "b" brown pens.

Since the total number of pens purchased is 30, we can write the equation:
w + b = 30

To calculate the total cost, we multiply the cost of each pen by the number of pens purchased. The equation for the total cost is:
w*(x + 70) + b*x = 3200

Combining both equations, we have a system of equations:
w + b = 30
w*(x + 70) + b*x = 3200

Now, you can solve this system of equations to find the possible value of the cost of each brown pen (x).