Answer: First, let's calculate the discount on each item. The shirt was $17.99, and the discount was 20% so the discount on the shirt was 17.99 * 0.20 = $3.60.
The pants were $19.99, and the discount was 20% so the discount on the pants was 19.99 * 0.20 = $4.00.
Now let's calculate the price of each item after the discount. The shirt was $17.99, and the discount was $3.60, so the price of the shirt after discount is 17.99 - 3.60 = $14.39.
The pants were $19.99, and the discount was $4.00, so the price of the pants after discount is 19.99 - 4.00 = $15.99.
Next, let's add up the price of the shirt and pants after discount. The shirt was $14.39 and the pants were $15.99, so the total before tax is 14.39 + 15.99 = $30.38.
Finally, let's add the sales tax. The sales tax was 6%, so the sales tax on the outfit was $30.38 * 0.06 = $1.82.
The total cost of the outfit after the discount and sales tax is $30.38 + $1.82 = $32.20.
Explanation: