Translations along directed line segments (vectors)

Below you can see many translations of a polygon. [br]Move the points on directed line segment AB.[br]Move the points on the pentagon p.[br]What transformation is being performed on p to take it to its image q?[br]Are these pentagons congruent?

Information: Translations along directed line segments (vectors)