If the underlined phrase is <em>having been warned by her mother, </em>then this is a nonessential perfect participial phrase.
Nonessential phrases are separated from the rest of the sentence by commas, and since this is a perfect participle, this is the only correct option.
Explanation:
If You Want Then I Can Be Your Friend✌:)
Answer: I cant see the question mate.
Explanation: ...