Oracle Interview Question

Financial calculations type stuff, pretty easy