Remember that the formula for pistons is oftena simple rule of three, the input and output force is equal to the division of the force by the area of the application of the force:
Now that is the area of the circle, we just solve the formula of the circle to calculate the radius:
Now remember that the radius is half the diameter so we just have to multiply the radius by 2:
A line that is proportional will always pass through the origin (0, 0). If it does pass through the origin, then x and y have a proportional relationship.