When two vectors are in same direction then we add up to get their resultant and in this case resultant would be maximum
R = A + B
R = 4 + 2
R = 6
If vectors are in opposite direction then they provide minimum resultant and in this case we subtract them
R = A - B
R = 4 - 2
R = 2