Capital One Interview Question

Based on this data, calculate profit.