please help me with my homework im stuck on this

a) In the tape diagram, each one of the (x-2)-sections represents one week that Andre worked. The 40 above the 5 sections indicates that after 5 weeks, he will save $40.
b) Algebraically, the tape diagram is
[tex]5(x-2)=40[/tex]Solve for x as shown below
[tex]\begin{gathered} \Rightarrow5x-10=40 \\ \Rightarrow5x=50 \\ \Rightarrow x=\frac{50}{5}=10 \\ \Rightarrow x=10 \end{gathered}[/tex]The answer to part b. is $10.