Respuesta :
The correct way to write the sentence that you provided is the last way. “Dr. Burke wanted to trust her assistant with the secret formula, but she was afraid her assistant was a spy.”
the best way to punctuate the sentence would be your last sentence