The pilot's inattentiveness to the fuel flow and fuel selector valve position resulting in fuel starvation. Contributing factors were the pilot's failure to follow proper engine failure procedures, and the pilot's improper in-flight planning and decision making.