I don't remember how to solve these types of games to be completely honest with you. I used to have a little picture version of a sliding puzzle like this as a kid, but now I'm a little too tired to stick around and solve it. Still, seems to work, and it's the first thing like it on the portal.