thats not math at all, ikts just poorly worded.

30$-5$ discount=25$ + 2$ clerk =27$ (aka the 9$ each)