Problem solving approach-2