discount was 2%
Cost of 3 mem cards
A + B + C = X
2% of X = X+ (2/100)X
Then
Cost of 2 mem cards= $47.50
5% of $47.50 = $2.375
Cost of 3 mem cards = 47.50 + 47.50/2= 47.50 + 23.75= $71.25
Now find 2% 0f 71.25
= (2/100)x71.25= $1.425
Then
customer pays
$71.25 - $1.425= 69.83
Answer is
customer pays $69.83 for three memory cards