The levels of Valium and marijuana detected in the bloodstream of Michael J. Petrocik of Glenside could have caused impairment that affected his ability to safely operate a vehicle at the time he struck and killed Mary T. Duffy who was walking her dog on a sidewalk in Lower Moreland, a forensic toxicologist testified.