Capital One Interview Question

weighted average question on product case