Bank of America Interview Question

Apply integration by parts to te^-2g