WARNING: This page is about a different car, the 2007 Subaru Outback and 2007 Subaru Legacy. However, it is still accessible from the selected car via links, so may be relevant.
Open the front hood.
Remove the bolts, and then detach the front hood lock assembly.