Hi again, Lupa.
You don't seem to have any problems with it! You got it right.
You're right that in a), "turn on" is a transitive phrasal verb; the adverbial particle "belongs" to the verb, so to speak.
In b), on the other hand, you have an intransitive verb followed by a prepositional phrase...