Solution to Sales Tax Problem Exercise