targetx = (175, 227) targety = (-134, -79) y = 0 - targety[0] - 1 y = (y*y + y)/2 print(y)