Correctly punctuate sentences with subordinate clauses preceding or following main clauses.
The correct punctuation for the sentence is:
When a subordinate clause precedes the main clause, a comma is needed; if it follows the main clause, no punctuation is required.
https://brainly.com/question/36650842