Since the two vectors are given to be parallel, the angle between them is zero. So the dot product becomes |a||b| cos 0° = |a||b|. The dot product of two parallel vectors is the product of their magnitudes.