他想到一个好主意。

A good idea occurred to him.

A good idea came to him.

Source: Tatoeba

Sentence Composition