you only recite the Atahiyat in the sitting of the second rakaat and only in the last sitting should all of the above be recited it dont matter if you wait a while for Imam to finish; wait for him to finish and finish along with him; if you wait 2-3 minutes for Imam to finish, maybe you read it too fast; you should not rush it too much for to pray the salaah in a calm manner is wajib, so try to recite a little slower and finish approxiamately the same time as Imam