How would I enter the formula for getting distance between two points into a math node?

How would I enter the formula for getting distance between two points into a math node? I havent been able to figure out how to enter subscript properly, ie {x_2} - {x_1} and {y_2} - {y_1}.

Got it. sqrt((((x2 - x1) * (x2 - x1)) + ((y2 - y1) * (y2 - y1)))) works, but it is long form, does anyone know how to write ‘squared’ in this to get rid of the redundancy?

It’s all here:

Also, it’s just a length of a vector so it’s 2 nodes so length of A-B.