he went back to dresden in 1740. he wrote the operas "antigono" and "ipermestra". the text for these operas were written by metastasio. hasse and metastasio became good friends. they wrote many operas together.