The correct answer is a. The fence spread apart after being pulled by the young boys.
You can recognize this by noticing the "by the young boys" as it denotes the doer of the action, but at the end using "by". In other sentences, the doers of the action are also the subjects.