Constrained Reachability Problems for a Planar Manipulator