The past tense of work something out is worked something out.
The third-person singular simple present indicative form of work something out is works something out.
The present participle of work something out is working something out.
The past participle of work something out is worked something out.