WARNING: This page is about a different car, the 2014 Subaru Forester. However, it is still accessible from the selected car via links, so may be relevant.
Disconnect the ground cable from battery.
Remove the bulb socket and front side marker light bulb.
Fig 1: Removing Bulb Socket And Front Side Marker Light Bulb