I had done the work and went home.( Simple )

Answer: 
Having done the work , I went home
I had done the work and went home.( Simple )