WARNING: This page is about a different car, the 2013 Subaru Forester. However, it is still accessible from the selected car via links, so may be relevant.
Remove the exhaust manifold RH upper cover.
Remove the exhaust manifold RH and the exhaust manifold LH from the front exhaust pipe.
Fig 1: Identifying Front Exhaust Pipe, Exhaust Manifold RH, Exhaust Manifold LH And Gasket