Answer :
[tex]\begin{gathered} \text{The total discount is 40\%, so the cost of the computer is } \\ 500(1-\frac{40}{100})=500(1-0.4) \\ \\ =500(0.6) \\ =300 \\ \\ \text{ The cost of the computer is \$300} \end{gathered}[/tex]