Find the coordinate vector of w relative to the basis S = {u1, u2} for R2

Find the coordinate vector of w relative to the basis S = {u1, u2} for R2.

a) u1 = (1, -1), u2 = (1, 1) ; w = (1, 0)
b) u1 = (1, -1), u2 = (1, 1); w = (0, 1)