This starter contains a hidden pen sprite with the dot-picture script from the lab: it forever jumps to a random position, uses an if/else on the Boolean expression x position < y position to pick purple or orange, and draws a dot with the custom make a point block. There is also a hidden apple sprite (press s to show it, h to hide it) and a spare expression involving distance to apple sitting in the scripting area.
Run the script and watch the picture it paints, then experiment: swap different Boolean expressions into the if block — comparisons of x position and y position, combinations with and and or, distance to the apple — and see if you can invent expressions that produce the target pictures on the lab page.
Your work autosaves (and you can use the Save button); earlier versions are available from the Revisions dropdown.