1) if a,b,c belong to an inner product space X, find all solutions to the equation <a,x>b=c

I know that I should set c=landa*b but i get stuck from there.

2) find solutions to equation x + <a,x>c=b

No idea how to do this one at all

thanks in advance