Text this: Trajectory Planning Optimization of Two-degree-of-freedom Parallel Mechanism