Replace the passport-style photo on the certificate (top-right corner) with the person from the other photo. Keep the rest of the certificate exactly the same, including all text, logos, QR code, and layout.