code: def reflect(vec1, vec2):
      
      if isinstance(vec1, Vector3) and isinstance(vec2, Vector3) \
              or isinstance(vec1, Vector4) and isinstance(vec2, Vector4):
          return 2 * dot(vec1, vec2) * vec2 - vec2
      else:
          raise ValueError("vec1 and vec2 must both be a Vector type")
docs: Take vec1 and reflect it about vec2.