You can cheat for these so here are the cheats that I used:
Create Box - Down, B, A, B, Y, Down, B, A, B, Y
Fire Energy Ball - Up, Y, Y, X, X, A, A, B, B, Up
Place Portal on any surface - Y, A, B, A, B, Y, Y, A, Left, Right
Invincibility - LB, Up, RB, Up, LB, LB, Up, RB, RB, Up
With these cheats and the knowledge of the levels (assuming you beat the game) you will have no problem!!!