> ## Documentation Index
> Fetch the complete documentation index at: https://docs.primastem.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Chapter 5. Your own word: the function

> Book 2. Activities 5.1–5.4.

For printing: [PDF of the whole book, A4](https://github.com/primastem/mintlify-docs/raw/main/en/book-2/files/book-2.pdf)

Chapter goal: the workshop font. We build the letters from a ready-made part.

Children know the function from 0.1 and write their own from 3.1. New here is the function contract: where the robot stands and where it faces before the call and after it.

The [Function contract card](https://docs.primastem.com/en/book-2/card-contract.md) lies on the table for the whole chapter: “Before the call: spot and direction. After the call: spot and direction.”

## Activity 5.1. Function contract: comb and F

**We draw.** The letter F and a comb.

### Goals

**The child can.** Fills in the function contract and says before the run where the robot will be after each call.

**New.**

* Function contract: where the robot is before the call and after it.

### Materials

Contract card, 1 cm grid sheet with a 100 × 100 frame, two A4 sheets per group, pencil, ruler.

Tokens: Function; × 2, × 3 (× 5 for fast finishers); Forward (2), Backward, Left, Right; numbers 100 (2), 50.

### For printing

* [Function contract card](https://docs.primastem.com/en/book-2/card-contract.md), one per group.
* [1 cm grid sheet](https://docs.primastem.com/en/book-2/sheet-blank-1cm.md), one per child.

### Lesson steps

1. Opening, 5 min. The teacher shows F and the comb: “One part draws both of them, the tooth.”
2. Body, 3 min, optional. “Arm to the right, bring it back, step down”, two times. Where do we stand? Where do we face?
3. Predict, 7 min. Draw one tooth on the sheet, following the bottom row. Fill in the tooth contract. Guess: where will the robot be after two calls?
4. Robot, 20 min. F. Then the comb: the Programmer changes only × 2 to × 3. While the robot moves, the Programmer counts the calls out loud. Own task: “Find the error” below, first on paper, then with the robot.
5. Show, 7 min. In the notebook: “After the tooth, the robot is 50 mm lower and faces right, as at the start. This is why we can repeat the tooth.” F and the comb go home or to the exhibition.

### Programs

Start: the top-left corner of the frame, the robot faces right.

#### F

Board: top row Function × 2. Bottom row: Forward 100, Backward 100, Right, Forward 50, Left.

[Run in the simulator](https://simulator.primastem.com/#top=cfun.r002\&fn=cfor.n100,cbac.n100,crig,cfor.n050,clef\&s=l1047402\&r=250-250-90\&run)

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-1-0-board.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=a9631545fc6560727c904497e6009a66)

Program on the board

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-1-0-field.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=1fc109ceabd0cf47e2b6d63e414edd67)

What the robot draws

#### Comb

Board: top row Function × 3. Bottom row: Forward 100, Backward 100, Right, Forward 50, Left.

[Run in the simulator](https://simulator.primastem.com/#top=cfun.r003\&fn=cfor.n100,cbac.n100,crig,cfor.n050,clef\&s=l1047402\&r=250-225-90\&run)

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-1-1-board.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=07e06d30a4f255bc8d6ee4aae17db985)

Program on the board

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-1-1-field.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=069bc9c989728569a2446b002d373126)

What the robot draws

### Answer

Tooth contract. Before: at the start of the stem, faces right. After: 50 mm lower on the stem, faces right. F is 100 × 100 mm. The robot ends at the bottom of the stem and faces right. The comb is 100 × 150: three teeth, and the last call adds 50 mm more to the stem. This is the handle.

### Find the error

In the function for F, someone forgot the last pair, Left. What came out? (After the first tooth, the robot faces down, not right: the contract is broken. The second call makes the stem longer, down to 150 mm, and puts out a 50 mm bar to the left. The drawing is 150 × 150 mm.)

Board: top row Function × 2. Bottom row: Forward 100, Backward 100, Right, Forward 50.

[Run in the simulator](https://simulator.primastem.com/#top=cfun.r002\&fn=cfor.n100,cbac.n100,crig,cfor.n050\&s=l1047402\&r=275-225-90\&run)

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-1-2-board.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=4f901600d917ab93c406738e9c3924f2)

Program on the board

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-1-2-field.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=0d822e09a61865cb2da24846284171c6)

What the robot draws

### For fast finishers

A comb with five teeth on an A3 sheet: Function × 5 in the top row. Before the run, say where the robot will stop. (250 mm below the start, it faces right.)

Board: top row Function × 5. Bottom row: Forward 100, Backward 100, Right, Forward 50, Left.

[Run in the simulator](https://simulator.primastem.com/#top=cfun.r005\&fn=cfor.n100,cbac.n100,crig,cfor.n050,clef\&s=l1047402\&r=250-175-90\&run)

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-1-3-board.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=d5f4f79df7a5ca57ae1be8dd833a8d8e)

Program on the board

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-1-3-field.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=776772bc9af6d2dc82c0b226567202b7)

What the robot draws

## Activity 5.2. A function in two places: H

**We draw.** The letter H.

### Goals

**The child can.** Calls a function in two places of a program and moves the robot between the calls.

**New.**

* The move between calls.

### Materials

Contract card, 1 cm grid sheet with a 100 × 100 frame, two A4 sheets per group, pencil, ruler.

Tokens: Function (2); Forward (3), Backward, Left, Right; numbers 40, 60, 100 (2); 150 for fast finishers.

### For printing

* [Function contract card](https://docs.primastem.com/en/book-2/card-contract.md), one per group.
* [1 cm grid sheet](https://docs.primastem.com/en/book-2/sheet-blank-1cm.md), one per child.

### Lesson steps

1. Opening, 5 min. The teacher shows H: “Two equal stems. One part, two calls.”
2. Body, 3 min, optional. A child walks the H on the floor: stem, move, stem. The class says where the child must face before the second stem.
3. Predict, 7 min. What does the function draw? Where is the robot after it? Fill in the stem contract. Guess: how many pairs would H take without a function?
4. Robot, 20 min. H. Own task: start on the right stem, the robot faces up. What do you change in the top row to get the same H?
5. Show, 7 min. In the notebook: “You can call a function in any place. Between calls, the robot moves to the start of the next part.” H goes home or to the exhibition.

### Program

Start: on the left side of the frame, 60 mm from the bottom, the robot faces up.

Board: top row Function, Right, Forward 100, Left, Function. Bottom row: Forward 40, Backward 100, Forward 60.

[Run in the simulator](https://simulator.primastem.com/#top=cfun,crig,cfor.n100,clef,cfun\&fn=cfor.n040,cbac.n100,cfor.n060\&s=l1047402\&r=250-290-0\&run)

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-2-0-board.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=0f1f467656793fbf5306057d4709ef08)

Program on the board

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-2-0-field.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=85694bbc574a1fb47407fb073b048929)

What the robot draws

### Answer

The function draws a stem: up 40, down 100, up 60. Contract: before and after, the robot is at the crossbar and faces up. The move Right, Forward 100, Left draws the crossbar. H is 100 × 100 mm. The robot ends on the right stem, 60 mm from the bottom, and faces up. Without a function, H would take 9 pairs, but the top row has only 6 places. With the function, the top row has 5 pairs and the bottom row has 3. Own task: swap Left and Right in the move.

Board: top row Function, Left, Forward 100, Right, Function. Bottom row: Forward 40, Backward 100, Forward 60.

[Run in the simulator](https://simulator.primastem.com/#top=cfun,clef,cfor.n100,crig,cfun\&fn=cfor.n040,cbac.n100,cfor.n060\&s=l1047402\&r=350-290-0\&run)

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-2-1-board.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=bdb2365e2a48ac89ab1f83cb5b125397)

Program on the board

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-2-1-field.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=21f8b18b6587bcc3fec430ab83594097)

What the robot draws

### Find the error

Someone forgot Left in the move: the top row has Function, Right, Forward 100, Function. What came out? (There is no right stem. A 40 mm tail sticks out to the right of the crossbar. The robot faced right, so the function drew the stem lying down, along the crossbar. The drawing is 140 × 100 mm.)

Board: top row Function, Right, Forward 100, Function. Bottom row: Forward 40, Backward 100, Forward 60.

[Run in the simulator](https://simulator.primastem.com/#top=cfun,crig,cfor.n100,cfun\&fn=cfor.n040,cbac.n100,cfor.n060\&s=l1047402\&r=230-290-0\&run)

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-2-2-board.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=24c93985d5a4b9c90747843b466b0167)

Program on the board

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-2-2-field.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=a37a943b2fb44360aceed1e8b98e3c1c)

What the robot draws

### For fast finishers

A wide H: Forward 150 instead of Forward 100 in the move. What changes? (Only the crossbar, H is 150 × 100 mm. The part stays the same.)

Board: top row Function, Right, Forward 150, Left, Function. Bottom row: Forward 40, Backward 100, Forward 60.

[Run in the simulator](https://simulator.primastem.com/#top=cfun,crig,cfor.n150,clef,cfun\&fn=cfor.n040,cbac.n100,cfor.n060\&s=l1047402\&r=225-290-0\&run)

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-2-3-board.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=eb082f4273a53930dace8d1240b0b236)

Program on the board

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-2-3-field.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=084fb78c58b9008f1d46e54b1eb6f19a)

What the robot draws

## Activity 5.3. The part and what is around it: P, 8, G

**We draw.** P, 8 (also B), G. The digit 8 is for children who are 8 years old.

### Goals

**The child can.** Takes a ready-made part and changes only the pairs around it.

**New.**

* The part stays the same, the pairs around it change.

### Materials

Contract card, 1 cm grid sheet with 100 × 100 and 50 × 100 frames, three A4 sheets per group, pencil, ruler.

Tokens: Function (2); × 3, × 4; Forward (3), Left (2), Right (2); numbers 100, 50, 40.

### For printing

* [Function contract card](https://docs.primastem.com/en/book-2/card-contract.md), one per group.
* [1 cm grid sheet](https://docs.primastem.com/en/book-2/sheet-blank-1cm.md), one per child.

### Lesson steps

1. Opening, 5 min. The teacher shows P and 8 side by side: “Both come from one small square. How are they different?”
2. Body, 3 min, optional. A child walks a small square: a step and a turn, four times. Where does the child stand after three sides?
3. Predict, 7 min. Draw P on the sheet. What do you add at the start to get 8? Guess: where does the robot end in 8?
4. Robot, 20 min. P. Then 8: do not touch the bottom row, put Function × 4 at the start of the top row. Own task: G, built from the C part from 1.2.
5. Show, 7 min. In the notebook: “I take a ready-made part and change only what is around it.” The letters go home or to the exhibition.

### Programs

#### P

Start: the bottom-left corner of the 50 × 100 frame, the robot faces up.

Board: top row Forward 100, Right, Function × 3. Bottom row: Forward 50, Right.

[Run in the simulator](https://simulator.primastem.com/#top=cfor.n100,crig,cfun.r003\&fn=cfor.n050,crig\&s=l1047402\&r=275-350-0\&run)

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-3-0-board.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=2c8c6b6aa45cb040dd2427f1c85c142b)

Program on the board

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-3-0-field.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=c1ff2ccf59c3ce6493a285ae8bed2ba6)

What the robot draws

#### 8 and B

Bottom row and start as for P.

Board: top row Function × 4, Forward 100, Right, Function × 3. Bottom row: Forward 50, Right.

[Run in the simulator](https://simulator.primastem.com/#top=cfun.r004,cfor.n100,crig,cfun.r003\&fn=cfor.n050,crig\&s=l1047402\&r=275-350-0\&run)

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-3-1-board.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=ac2cfdf9b52e0127af78f17219108457)

Program on the board

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-3-1-field.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=f6105ac191074bfd449ab11f7ad4a755)

What the robot draws

#### G

Bottom row as in C. Start: the top-right corner of the 100 × 100 frame, the robot faces left.

Board: top row Function × 3, Forward 40, Left, Forward 50. Bottom row: Forward 100, Left.

[Run in the simulator](https://simulator.primastem.com/#top=cfun.r003,cfor.n040,clef,cfor.n050\&fn=cfor.n100,clef\&s=l1047402\&r=350-250-270\&run)

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-3-2-board.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=d2e76dab48e20b5fce80da7254db647f)

Program on the board

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-3-2-field.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=72554ff4baf39accca03b485ad976eb1)

What the robot draws

### Answer

P and 8 share one part: Forward 50, Right, one side of the small square and a turn. P is a 100 stem with a small square on top, 50 × 100 mm. 8 is the same P, but before it the robot goes all the way around the bottom small square. 8 is 50 × 100 mm. The robot ends in the middle of the left side and faces up. G is C plus three more pairs: up 40 and a 50 crossbar inward. G is 100 × 100 mm.

### Find the error

In 8, someone put Left instead of Right in the top row. What came out? (The top small square moved to the left of the stem and up, and it stays open. The drawing is 100 × 150 mm. Wrong side.)

Board: top row Function × 4, Forward 100, Left, Function × 3. Bottom row: Forward 50, Right.

[Run in the simulator](https://simulator.primastem.com/#top=cfun.r004,cfor.n100,clef,cfun.r003\&fn=cfor.n050,crig\&s=l1047402\&r=300-375-0\&run)

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-3-3-board.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=7338dafe2eb1b5ad097a499fc5af2305)

Program on the board

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-3-3-field.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=4a2ee80e5de9fb6622e1563f44692a90)

What the robot draws

### For fast finishers

A small b with two pairs in the top row: Function × 4, Forward 100. Bottom row as for P. This is the start of 8.

Board: top row Function × 4, Forward 100. Bottom row: Forward 50, Right.

[Run in the simulator](https://simulator.primastem.com/#top=cfun.r004,cfor.n100\&fn=cfor.n050,crig\&s=l1047402\&r=275-350-0\&run)

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-3-4-board.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=a01d1cf90fca2ff71202c8c0494490a0)

Program on the board

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-3-4-field.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=8b3fad68e86230537259f3349ba00812)

What the robot draws

## Activity 5.4. Turning the sheet and the mirror

**We draw.** 6 and 9 with one program (9 is for children who are 9 years old). A mirror F that you read in a small mirror.

### Goals

**The child can.** Gets a turned shape by changing the start, and a mirror shape by changing Left to Right.

**New.**

* A different start turns the shape.
* Swapping Left and Right gives a mirror image.

### Materials

Contract card, 1 cm grid sheet with 50 × 100 and 100 × 100 frames, three A4 sheets per group, a small mirror at least 10 cm tall, pencil.

Tokens: Function; × 2, × 3; Forward (3), Backward, Left (3), Right; numbers 40, 50, 100 (2).

### For printing

* [Function contract card](https://docs.primastem.com/en/book-2/card-contract.md), one per group.
* [1 cm grid sheet](https://docs.primastem.com/en/book-2/sheet-blank-1cm.md), one per child.

### Lesson steps

1. Opening, 5 min. The teacher shows 6, then turns the sheet half a turn: now it is 9. “Today one program draws two digits.”
2. Body, 3 min, optional. In pairs, one child makes a move, the other mirrors it.
3. Predict, 7 min. Draw 6 on the sheet. Where do you put the start so that the same program draws 9? Guess: what comes out of F if you swap Left and Right in it?
4. Robot, 20 min. 6. Then 9: do not touch the tokens, the Operator puts the robot on the start for 9. Then the mirror F. Stand the small mirror upright at the edge of the drawing: it shows a normal F.
5. Show, 7 min. In the notebook: “A different start, the same program: the shape turned. Left and Right swapped: the shape is mirrored.” The drawings go home or to the exhibition.

### Programs

#### 6

Start: on the top line of the 50 × 100 frame, 10 mm from the right corner, the robot faces left.

Board: top row Forward 40, Left, Forward 100, Left, Function × 3. Bottom row: Forward 50, Left.

[Run in the simulator](https://simulator.primastem.com/#top=cfor.n040,clef,cfor.n100,clef,cfun.r003\&fn=cfor.n050,clef\&s=l1047402\&r=315-250-270\&run)

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-4-0-board.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=722e8652cb443f63836e1c313780eb4c)

Program on the board

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-4-0-field.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=46355a5b44ac097995e71aac1b7c2fd7)

What the robot draws

#### 9

The same program, a different start: on the bottom line of the frame, 10 mm from the left corner, the robot faces right.

Board: top row Forward 40, Left, Forward 100, Left, Function × 3. Bottom row: Forward 50, Left.

[Run in the simulator](https://simulator.primastem.com/#top=cfor.n040,clef,cfor.n100,clef,cfun.r003\&fn=cfor.n050,clef\&s=l1047402\&r=285-350-90\&run)

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-4-1-board.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=f3d344ab3ecfbf7396910435e7b0962b)

Program on the board

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-4-1-field.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=27b9b5fe6260c43a0cf4b6d4bd555eb9)

What the robot draws

#### Mirror F

Start: the top-right corner of the 100 × 100 frame, the robot faces left.

Board: top row Function × 2. Bottom row: Forward 100, Backward 100, Left, Forward 50, Right.

[Run in the simulator](https://simulator.primastem.com/#top=cfun.r002\&fn=cfor.n100,cbac.n100,clef,cfor.n050,crig\&s=l1047402\&r=350-250-270\&run)

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-4-2-board.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=9d794ae1edc44d4ea22bf03ccfd2ac4b)

Program on the board

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-4-2-field.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=27eb75700302ef0916a04cf1285fc633)

What the robot draws

### Answer

6 and 9 are each 50 × 100 mm. The start for 9 is the start for 6, moved to the opposite corner and turned around: the shape turned half a turn. The mirror F is 100 × 100: the teeth point left, the stem is on the right. The robot ends at the bottom of the stem and faces left. The start is mirrored too: the right corner instead of the left one. Answer to the guess: from the old start, the same program draws F upside down, and the stem goes up out of the frame. This is why we move the start.

### Find the error

In the mirror F, someone changed only the first turn: the bottom row has Forward 100, Backward 100, Left, Forward 50, Left. What came out? (The top tooth points left, the second one points right, the stem is 50 mm. The drawing is 200 × 50 mm. A mirror changes all the turns, not just one.)

Board: top row Function × 2. Bottom row: Forward 100, Backward 100, Left, Forward 50, Left.

[Run in the simulator](https://simulator.primastem.com/#top=cfun.r002\&fn=cfor.n100,cbac.n100,clef,cfor.n050,clef\&s=l1047402\&r=300-275-270\&run)

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-4-3-board.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=3b2d4d912402f0cf8fe13b8e971fd403)

Program on the board

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-4-3-field.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=5c31bb6aa4bdcece17c496c9e993c175)

What the robot draws

### For fast finishers

Mirror P. The P program from 5.3: the top row has Forward 100, Right, Function × 3, the bottom row has Forward 50, Right. The start is in the bottom-left corner of the 50 × 100 frame, the robot faces up. Change every Right to Left and put the start in the bottom-right corner of the 50 × 100 frame. Check with the small mirror.

Board: top row Forward 100, Left, Function × 3. Bottom row: Forward 50, Left.

[Run in the simulator](https://simulator.primastem.com/#top=cfor.n100,clef,cfun.r003\&fn=cfor.n050,clef\&s=l1047402\&r=325-350-0\&run)

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-4-4-board.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=13003d3a10f7bbe84c205c4f28216d58)

Program on the board

![](https://mintcdn.com/primastem/L6aXBzUhirm1VwzK/images/book-2/lessons/b2-5-4-4-field.svg?fit=max\&auto=format\&n=L6aXBzUhirm1VwzK\&q=85\&s=9fb90c79590ea1f4bf3b8df5b2df8ceb)

What the robot draws


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.