x1, y1 = map(int, input().split())
x2, y2 = map(int, input().split())
x3, y3 = map(int, input().split())
print(x3 + x1 - x2, y3 + y1 - y2)
print(x1 + x2 - x3, y1 + y2 - y3)
print(x2 + x3 - x1, y2 + y3 - y1)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
x1, y1 = map(int, input().split())
x2, y2 = map(int, input().split())
x3, y3 = map(int, input().split())
print(x3 + x1 - x2, y3 + y1 - y2)
print(x1 + x2 - x3, y1 + y2 - y3)
print(x2 + x3 - x1, y2 + y3 - y1)