мне плохо давалась химия
chemistry didn't come easy to me
I wasn't good at/in chemistry
for me, chemistry didn't come easy