Yes, the Gram-Schmidt Process will give you the orthogonal basis. Please take a look of the following link for the detail of the G-S process:
Gram–Schmidt process - Wikipedia, the free encyclopedia
In you case, let and . Now follow the process:
Then is an orthogonal basis for the given subspace.