Here approach is simple. We will say that bar at middle cannot expand or contract. Since we know angular velocity of first link, we can easily find out magnitude and direction of velocity of point 1.But for point 2 we know only direction of velocity. Here first concept we learned comes for help. Since this bar cannot elongate or contract, relative velocity between these points should be perpendicular to this link.