Adding to the corrections made in the comment section of your question, I would like to clarify one more thing. The figures are basically the Fischer projections of the corresponding molecules. The actual representation of Fischer projections is as below. 
  
[![enter image description here][1]][1]

Hence the 'pushing H as far as possible' thing is done when H is on dashed bond (into the screen). Just use the rules of Fischer projections and change the molecule to the form which you feel most comfortable to determine R/S configurations. 

Hope this helped.


  [1]: https://i.sstatic.net/WSymJ.png