Maddie has x dollars. After spending $90 on a purse, she will have $45. What is the value of x?
x - 90 = 45
x = 135