For more information on calculating velocities and accelerations of the linkage elements, please see a textbook on kinematics.
For some general linkage design tricks, research Gruebler and Grashof criteria.
For graphical methods of linkage design, see the basic four bar design example.