RobotStudio event

How to create formula for mechanism

Hello,<div><br></div><div>I am trying to create a mechanism with dependency. For that formula is required. Can an one tell me how to calculate the formula for defining a mechanism.</div><div><br></div><div>I am attaching the image of the mechanism for the which formula need to be calculate </div><div><br></div><div>Thanks</div><div>Nidhin</div>