Three sodium ions from inside the cell first bind to the transport protein. Then a phosphate group is transferred from ATP to the transport protein causing it to change shape and release the sodium ions outside the cell. Two potassium ions from outside the cell then bind to the transport protein and as the phospate is removed, the protein assumes its original shape and releases the potassium ions inside the cell.