In the first pic, he just hadn't absorbed all of his egg yolk before he hatched. Happens sometimes. It's good you didn't mess with him/it and let him absorb it.
It does appear to have splayed legs. I agree with what was said above about electrolytes. If you don't have any, but have gatorade, pedialyte or poweraid on hand, a tiny bit of that would work, too. Stick it's little beak in it just a tiny bit so it knows its there. Babes that don't absorb their yolk the way they should tend to be weaker at first, anyway.
Good luck!