Joining Salat In The Last Rakah
I am unable to clearly understand your question Whenever you join a jamaat its your first rakaat and you have to offer the remaining number of rakat by yourself.