Rewrite the following sentence in its passive voice: 
"The engineer designed the machine."
The machine was designed by the engineer.
Complete the following task based on the instruction and optional input provided.### Instruction:
Rewrite the following sentence in its passive voice: 
"The engineer designed the machine."

### Output:
The machine was designed by the engineer.