IBM interview question

Solve these problems using everything you know?