how to solve divide properly