The 'which' clauses are OK in your examples, but it is better to place it next the relevant noun when any chance of ambiguity or mis-reference is possible.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
ouroborosIs it fine when there is something in between?Yes, but don't do it unless it's necessary. Sometimes, when expressing a complicated thought, you may have to put something in between, but most English text that you read will not have that sort of structure at all, or only very rarely.