N mathematics, the distance of a point with coordinates (x,y) from the origin is the square root of the sum of x-squared and y-squared. given a variable, p that is of type point-- a structured type with two fields, x and y, both of type double, write an expression whose value is the distance of the point represented by p from the origin.