AGCO interview question

Join functions STAr format answers