Which way is better?

Answer:
the best way is to follow the law, sales tax is not subject to discount by the seller.
Step-by-step explanation:
both ways result in the same outcome:
improper way, discount after tax
$50+$5(tax)=$55, after discount $55-$11(20%)=$44
proper way, discount before tax
$50-$10(20%)=$40+$4(tax)=$44