Cobblestone Energy interview question

math and logic skill test.