What we know:
- Janet can spend a total of $20 including tax. This is the maximum she can spend.
- The tax rate is 8%
What we need to find:
- The maximum cost of Janet's gift before tax, within her $20 budget.
The amount of tax will be 8% of the cost before tax.
Let's call the cost before tax $x.
Then the tax = (0.08 * $x)
The total amount including tax is $20. So we have:
$x + (0.08 * $x) = $20
Solving for $x:
$x + (0.08 * $x) = $20
1.08 * $x = $20
$x = $20/1.08
$x = $18.52
Therefore, the maximum cost of Janet's gift before tax is $18.52,
so that the total with tax does not exceed her $20 budget.