Which answer identifies the participial phrase and the word it modifies in this sentence?

She practiced the drums for three hours in the afternoon, giving me a headache.

The participial phrase for three hours modifies drums.

The participial phrase giving me a headache modifies She.

The participial phrase She practiced the drums modifies hours.

The participial phrase in the afternoon modifies hours.