I hate word problems!

Can anyone just change this Following word prob to equations pls. I can do the rest!
Sam invested $4500, part at 7%, the rest at 8 1/2%. After one year, the interest earned on 7% investment was $150 less than the interest earned on the 8 1/2%. How much was invested T each rate?
Thanks alot!

Sure, I can help you convert the word problem into equations.

Let's start by assigning variables to the unknown quantities. Let:
- "x" represent the amount invested at 7%.
- "y" represent the amount invested at 8 1/2%.

According to the problem, Sam invested a total of $4500. So we have the equation:
x + y = 4500 (equation 1)

Next, we are told that the interest earned on the 7% investment was $150 less than the interest earned on the 8 1/2% investment. We can use the interest formula to express this as an equation:
0.07x = 0.085y - 150 (equation 2)

These two equations can be used to find the values of "x" and "y" representing the amounts invested at each rate.

Now, you can solve this system of equations using various methods (substitution, elimination, etc.) to find the values of x and y. Once you have the values of x and y, you can proceed with the rest of the problem.

I hope this helps! Let me know if you need any further assistance.