how to solve this prob.