Find the distance between the 2 points using the distance formula d = ( x 2 − x 1) 2 + ( y 2 − y 1) 2 Insert your points (13, 2) and (7, 10) into the distance equation d = ( 7 − 13) 2 + ( 10 − 2) 2

Find the point on the plane x − y + z = 8 that is closest to the point (1, 3, 6). This what I have so far Z = 8-x+y d = Sqrt ((x-1) 2 + (y-3) 2 + (z-6) 2) f(x,y,z) = d 2 = (x-1) 2 + (y-3) 2 +

Given sets of points and , find for each pair of points and print two space-separated integers denoting the respective values of and on a new line. Function Description. Complete the findPoint function in the editor below. findPoint has the following parameters: int px, py, qx, qy: x and y coordinates for points and ; Returns