# Thread: Solve for x.

1. ## Solve for x.

I just took a test and the only problem I had issues with was this:

Solve for x. ax+b=5(x+a)

Maybe its kinda early for my brain, but could someone please walk me through the steps of how I should've solved this?

Thanks.

2. $ax+b=5(x+a)$ first let's expand the right side

$ax+b=5x+5a$ this is the distributive law, review it if you don't remember it as it is extremely important

Now the name of the game is to isolate the x on one side of the equation

So lets subtract 5a from both sides

$ax+b-5a=5x+5a-5a$

$ax+b-5a=5x$ and let's subtract $ax$ from both sides

$ax-ax+b-5a=5x-ax$

$b-5a=5x-ax$ and we can factor the right side

$b-5a=x(5-a)$ and divide through to solve for x

3. Wow. It must be early. I knew that but I couldn't remember that for the life of me in class. So, I just guessed, and luckily I guessed that answer!

Thank you so much.