Hi, How are ya doing?

I really still don't know what the right grammar is when to use who and whom.


Can ya please tell me which sentence is right:

The man who thinks (that) he knows how to play soccer,
OR the man who thinks knows how to play soccer well.

In audition,
I want ya to explain this sentence to me because it sounds confusing.


Her mother, in whom she confided, said (that) she would support her unconditionally.


Does in whom refer to mother or daughter? 
besides, does the clause [She confided] refer to mother or daughter,
lastly the word of said refers to what? and who would support her the mother or daughter?

Thanks?