Compute profit and break-even for memberships | Capital One Interview Question