Find a basis, B, of R^n such that the B-matrix, b, of the given linear transformation T is diagonal.

a)Orthogonal projection T onto the line in R^2 spanned by [1, 2].

b)Reflection T about the line in R^2 spanned by [2, 3].

I have no idea what to do. Any help?