A subordinate clause is a clause that cannot stand alone as a complete sentence.
Subordinate clauses usually begin with subordinating conjunctions which link dependent clauses to independent clauses, such as for, as, since, therefore, hence, consequently, due to, though, provided that, because, unless, once, while, when, whenever, where, wherever, before, and after.
They can also begin with relative pronouns such as that, which, who, whom, whichever, whoever, whomever, and whose.
To identify a subordinate clause, there must always have a comma after it. When the main clause starts the sentence, there is no comma to separate it from the dependent clause.
Now, let's look over the sentence:
"As I was walking, I stumbled upon a beautiful seashell."
If we use this info, we can deduce that the answer is (A. As I was walking).
Both are equally as important. It’s great to learn from your own mistakes because you suffer the consequence or thrive in the reward. But same for learning from others. If you are surrounded by people who are a bad influence, they may suffer the consequences of their actions and you will know not to make the same mistake they did. If you surround yourself with a good group of people, they may be rewarded for something they did or an achievement they reached, so it may encourage you to do better or be a better person like your friends.