Navigate
Zoom
Window to zoom in on the area around the joint at the free end of the crank.
Selection
Shape
Point or Rectangle and
Select
Vertices commands active, click and drag to draw a box enclosing the center of the joint.
Setup
Constraints
Prescribed Displacements. Type 1 in the Magnitude field. We will keep the default axis direction (Scalar X).

Setup
Constraints
General Constraint.
Navigate
Enclose (Fit All).