Yes it is isha of Imam but yields have to follow the order of the namaz first make niyat of the maghrib for Jamat and it will be considered as your first rakat if surah were missed still you are able to attend either in qunoot or ruku as it was mentioned that it is second rakat
Recite the qunoot with the intention to get the thawab but it is your first rakat at the time of tashhud again sit with Imam and people and read for thawab then when Imam pray his third rakat it is your second try to recite both surah if not possible minimum read sura Fatiha and do small qunoot to make sure to get Imam in ruku after sajda imam will stand for his fourth and you read your tashhahud then stand pray your third rakat with jamat while it is their fourth and finish your prayer with Imam and jamat