This is because the card costs for 3 $ and should be multiplied by the number of total cards she buys in that particular day. So 3 * x.
Now as she has got a 2$ off coupon, whatever the total is she gets 2 dollars off on that price. So we will subtract 2 at that time. FInally all this summed up would be equal to y.
-6 x 2 + 6 x 200. Since you want to find out 6 multiplied by 198 the easiest way (for me) would be to round it and then substract 12 since 200-198 is equal to 2 and 6 x 2 is equal to 12