Cobblestone Energy Interview Question

Mathematic questions, calculate some mathematical operations