Original link: Merz appointed German chancellor hours after unprecedented parliamentary defeat / CNN.
The math is:
government coalition members parliament (=expected votes on Merz) : 328 votes second round : 325 votres required : 316 votes first round : 310messy!