you give different integer point p_1 p_2 p_3 p_4 mathitXY gridIn step choose point p_i direction in word choose point p_i x y x y 1 x y 1 x 1 y x 1 yYour goal point way form square side parallel mathitOX mathitOY axis square 0 allowedwhat minimum number step need square