I did a already and for b I got 4.2 room cleans but I think I did something wrong

Answer:
• (a)y=10x+8
,• (b)5 room cleans
Explanation:
Part A
• Weekly Allowance = $8
,• Reward per room clean = $10.
(a)An equation that represents the weekly income (y in dollars) for x rooms cleaned is:
[tex]y=10x+8[/tex]Part B
The baseball bat costs $50.
In order to have enough, you have to earn at least $50 in weekly income.
[tex]10x+8=50[/tex]Solve the equation for x.
[tex]\begin{gathered} Subtract\text{ 8 from both sides} \\ 10x+8-8=50-8 \\ 10x=42 \\ \text{Divide both sides by 10} \\ \frac{10x}{10}=\frac{42}{10} \\ x=4.2 \end{gathered}[/tex]Since there is no reward for cleaning your room halfway, round to the next whole integer.
[tex]x\approx5[/tex]The number of room cleans required to earn enough money in one week to buy the baseball bat is 5.