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]