Verified Answer :

5$ is the markup so, 40 divide by 8 is 5

Answer=$3.20

8%=0.08

$
40.00*0.08=$3.20

The markup was $
3.20