Fidelity Investments Interview Question

1. Calculations on various types