Basic Operations on a Vector
Given two distinct points on a plane, perform the following calculations:
Determine the vector that starts at the first point and ends at the second point.
Find the unit vector corresponding to the vector from the first task.
Calculate a vector in the same direction as the initial vector, but with a specified length.
Compute the vector obtained by rotating the initial vector by 90º clockwise.
Compute the vector obtained by rotating the initial vector by 90º counterclockwise.
Input
The input consists of three lines. The first two lines each contain two integers, representing the coordinates of the given points. The third line contains a natural number, which specifies the length for the vector in the third task. All numbers provided in the input do not exceed 1000 in absolute value.
Output
For each task item, output the coordinates of the resulting vectors on separate lines, ensuring an accuracy of 10^{-4}.