Hint 1
The first set of purple squares forms a 3 x 3 square. Slide it into either the top-right or bottom-left corner of the frame, and then tap it with the stylus. This will light up the corner squares and make the lit square in the centre of the frame dark.
Now you'll have a perfect 3 x 3 square of darkness in the opposite corner. Slide your group of purple squares into that corner, then give it a tap to finish activating this egg.