How to calculate the SSB position for NSA and SA?

Hello All.

How to calculate the SSB position for NSA and SA?