import math

# Original point
x = 5
y = 3

# Translation
tx, ty = 2, 4
x_t = x + tx
y_t = y + ty
print("Translated:", x_t, y_t)

# Scaling
sx, sy = 2, 2
x_s = x * sx
y_s = y * sy
print("Scaled:", x_s, y_s)

# Rotation (45 degrees)
theta = math.radians(45)
x_r = x*math.cos(theta) - y*math.sin(theta)
y_r = x*math.sin(theta) + y*math.cos(theta)
print("Rotated:", round(x_r, 2), round(y_r, 2))

