Sarah S. answered 03/22/22
An online English + Physics tutor
The first sentence looks correct. In the second sentence, "deus ex machina" should be italicized.
In writing, brief phrases in other languages should always be italicized. But if it's a full sentence in another language, you should just type it normally and use quotation marks.
Hope this helped.