The work done in each case can be calculated with the change in potential energy of the body:
[tex]Work=m\cdot g\cdot h[/tex]The work done by the bird on the snake will use only the mass of the snake (in kg):
[tex]\begin{gathered} Work=0.075\cdot9.8\cdot2.1\\ \\ Work=1.5435\text{ J} \end{gathered}[/tex]The work done by the bird to raise its own center of mass will use only the bird mass (in kg):
[tex]\begin{gathered} Work=0.345\cdot9.8\cdot2.1\\ \\ Work=7.1\text{ J} \end{gathered}[/tex]