Problema Solution

I need the process to solve this problem:

Ms. Jones' classroom contained an equal number of boys and girls. Eight girls went to play basketball, leaving twice as many boys as girls in the classroom. What was the original number of students present?

Answer provided by our tutors

Ms. Jones' classroom contained an equal number of boys and girls. Eight girls went to play basketball, leaving twice as many boys as girls in the classroom. What was the original number of students present?

 

this is easy algebra

2x=

34

dfs