Solve GearsDiv2