Dweezle has 3,500 to invest. he places part of the amount in a stock option that yields 5% interest annually and the rest in a savings account that yields 8% interest annually. If Dweezle earns a total of 238 in interest for the year, what was the amount he placed in the savings account?

If $x is at 8%, then the rest (3500-x) is at 5%. So,

.08x + .05(3500-x) = 238
Now just solve for x.

Extra credit: How much did Moon Unit get to invest?

To solve this problem, we can set up a system of equations. Let's say Dweezle invested x dollars in the stock option and the rest, (3500 - x) dollars, in the savings account.

According to the problem, the stock option yields 5% interest and the savings account yields 8% interest. So the interest earned from the stock option would be (0.05x) dollars, and the interest earned from the savings account would be (0.08(3500 - x)) dollars.

Given that the total interest earned is 238 dollars, we can write the equation:

0.05x + 0.08(3500 - x) = 238

Now, we solve for x:

0.05x + 280 - 0.08x = 238

Combine like terms:

0.03x + 280 = 238

Subtract 280 from both sides:

0.03x = -42

Divide by 0.03:

x = -42 / 0.03

x = -1400

We have a negative value for x, which doesn't make sense in this context. It means there is an error in the equations or that there is no valid solution for this problem.

Please double-check the values and constraints given in the problem statement to ensure accuracy.