Let and let . Find vectors such that with parallel to and perpendicular to .
The formula for a is , where the dot denotes the scalar product and is the norm (or length) of u. Once you have found a, let b=v-a, and keep your fingers crossed that b is orthogonal (perpendicular) to u.