In the sentence "She was able to get past the muddy road by driving carefully," The gerund phrase is "driving carefully" and the noun use is object of a preposition.
A gerund is a noun formed with a verb ending in ing.
Gerund phrases always start with gerunds; always include modifiers and often include other objects. These always fuction as a noun and are always subjects, objects, or subject complements in sentences.