The steam-engine was invented ____ James Watt.

The steam-engine was invented ____ James Watt.

Explanation

By is a preposition here.

By shows a doer of an action

Invent means ایجاد کرنا