Two classroom have a total of 45 people in them. the first class is a math class with 5 more students than the science class. How many are in each class

Respuesta :

Answer:

[tex]x=25[/tex]

Step-by-step explanation:

Set an equation:

[tex]x + x -5 = 45[/tex]

Combine like terms:

[tex]2x - 5 = 45[/tex]

Add 5 to both sides:

[tex]2x = 50[/tex]

Divide both sides by 2:

[tex]\frac{2x}{2} = \frac{50}{2}[/tex]

[tex]x = 25[/tex]