WARNING: This page is about a different car, the 2003 Oldsmobile Aurora. However, it is still accessible from the selected car via links, so may be relevant.
Fig 1: DTC P0171: Fuel Trim System Lean, Bank 1 & DTC P0174: Fuel Trim System Lean, Bank 2 (Steps 1-6)
Courtesy of GENERAL MOTORS CORP.
Fig 2: DTC P0171: Fuel Trim System Lean, Bank 1 & DTC P0174: Fuel Trim System Lean, Bank 2 (Steps 7 & 8)