Implement discounted card purchases | Brex Interview Question