Q: In this task, you are given a sentence in the English language and your task is to convert it into the Japanese language. In translation, keep numbers as it is and make it sentence case (capitalize only the first word of each sentence and noun).
"He understands how to do it and also understands how to keep us safe in a time of peril."
A:
「彼はどのようにやるべきかを理解し、しかも危険に陥ったときに如何に我々の安全を確保するべきかを理解している。」