Cobblestone Energy interview question

Math and Logic based puzzles