In step 2, we just apply duality. (¬E something = A¬something and so on)
Step 4 is just the consequence of having SB encapsulated in G. If we want [a SB b] to hold in every step, we know that b can never occur. If b occurred, then in this step [a SB b] wouldn't be satisfied, thus G would be violated. That's why we add ¬b to the G. If we know that in this case [a SB b] may only be satisfied without satisfying b, then we can simplify it further. Since the before is a strong one, we need a after finite time. Hence, our [a SB b] boils down to F a. (Never forget the the context! Our [a SB b] is inside a G. That makes it stricter than a [a SB b] would normally be!