Two 10mm hex heads on the inside frame of the headlight, under the grille on the support bar. Then there is a plug on the inside of the wheel well. Pull that out and stick a 10mm with extension in there, another bolt on the back of the light.
You have to pull really hard. Don't baby it, you'll never get it out. It is easier if you push it from the back also. Anyway, just push the new one back in there after that. Install is reverse of removal.
Don't forget to reinstall your ambient temp. sensor (if equipped). Also, under the inside flap of the light there is a hole. Inside that hole is a torx screw (about 2" deep). Twist right to raise the light, left to lower