 
<translate> Haraji ya kasance 40 *.05 = $ 2. Saboda haka farashin ya kasance 40 + 2 = $42. Ya samu rangwame don haka farashin da ya biya shi ne 42 - 8 = $34. Tun da yake ya biya rabin farashinsa 34 / 2 = $ 17. Saboda haka amsar ita ce 17. <eng> The taxes were 40 * .05 = $2. So the price was 40 + 2 = $42. He got a discount so the price he paid was 42 - 8 = $34. Since he paid half his price was 34 / 2 = $17. So the final answer is 17. 