def find_control_points(c1x, c1y, mmx, mmy, c2x, c2y):
 cmx = (0.5 * ((4 * mmx) - (c1x + c2x)))
 cmy = (0.5 * ((4 * mmy) - (c1y + c2y)))
 return [(c1x, c1y), (cmx, cmy), (c2x, c2y)]

def find_control_points ( c1x , c1y , mmx , mmy , c2x , c2y ) : cmx = ( 0.5 * ( ( 4 * mmx ) - ( c1x + c2x ) ) ) cmy = ( 0.5 * ( ( 4 * mmy ) - ( c1y + c2y ) ) ) return [ ( c1x , c1y ) , ( cmx , cmy ) , ( c2x , c2y ) ]
find control points of the bezier line throught c1 .