how solving this problem