Step 1 :1. \(d = \sqrt{(x_2 - x_1)^{2} + (y_2 - y_1)^{2}}\)
Step 2 :2. \(d = \sqrt{(2 - 1)^{2} + (4 - (-2))^{2}}\)
Step 3 :3. \(d = \sqrt{(1 - 2)^{2} + (-2 - 4)^{2}}\)