I thought they might be hungry. I offered them something to eat.
A.Thought they might be hungry, I offered them something to eat.
B.I thought they might be hungry, offered them something to eat.
C.Having thought they might be hungry, I offered them something to eat.
D.Thinking they might be hungry, I offered them something to eat.