Elliott had a bad stomach ache.
The doctor gave him medicine and he felt better within a few hours.
He went to the doctor to figure out what was wrong.
Elliott went to the doctor but couldn't figure out what was wrong.