R or S configuration?

The respective configutations of a and b are...?

I tried to find the answer for a (for me is: 2S, 3S) but I'm not sure of my results, can someone help me?