addition of vectors by rectangular components method