JavaScript mathOperationsll.js

How do you do the Moon Phases instruction 2