To determine the regular price r of the ingredients before the discount, we have to consider that $28 represents 70% of the regular price as this amount has a 30% discount and with that, find the price that represents 100%:
$28 → 70%
r ← 100%
r=($28*100%)/70%= $40
The regular price r of the ingredients before the discount is $40.