Skip to content
Learning Site
Home

About

  • About Robotical
  • Case Studies
  • Meet the Team
  • Blog
  • Contact Us

Our Products

  • Marty the Robot
  • Axiom
  • Cog

Teach

  • Lessons & Resources
  • Marty for Educators
  • Funding & Grants
  • Professional Development
  • Why Teach STEM?
  • Coding Environments
  • Student Led Learning

Let's Code

  • Marty the Robot
  • Code Online
  • Marty Apple App
  • Marty Android App
  • Update your Marty
  • Cog
  • Code Online
  • Cog iOS App
  • Cog Android App
  • Axiom
  • Axiom Science

Support

  • Marty Get Started
  • Cog Quick Start Guide
  • Axiom Science Quick Start Guide
  • Support & FAQs
  • Marty V2 User Guides
  • Marty V1 Resources
  • Request Support
  • Request Top-Up Training

Shop

  • Marty the Robot and Physical Computing
  • Class Packs
  • Add Ons & Extras
  • Account
  • Shipping, Returns & Cancellations
  • Distributors
HomeLessonsUnits of workCurriculum standardsTutorials

Information

  • Lessons & Resources
  • Knowledge Base & User Guides
  • About Us
  • Shipping, Returns & Cancellation
  • Privacy Policy
  • Learning site privacy
  • Terms of Service
  • Partner Hub

Support & Help

  • Support & Help Center
  • Getting Started with Marty V2
  • Getting Started with Marty V1

Learning, Resources & Guides

  • Marty V2 Lessons Site
  • Marty V1 Lessons Site

Contact Us in the UK

Stanhope House,12 Stanhope Place,Edinburgh,United Kingdom,EH12 5HH
(+44) 0131 564 0922
hello@robotical.io
Contact Us

Contact Us in the US

2810N Church St, PMB 61694,Wilmington,Delaware,USA19802-4447
(+1) 833 886 1661
hello@robotical.io
Contact Us

Why not join our mailing list?

For News, New Products and Special Offers

Join mailing list

Copyright 2016-2026 © Robotical Ltd

All lessons
Marty app
CurrentPrevious

Middle School Mathematics - Lesson 1 - You can Depend on Me

Use Marty to demonstrate the change in x and the change in y given an equation with two variables.

Middle School Mathematics - Lesson 1 - You can Depend on Me
Age / stage
11 - 13
Estimated time
45 minutes
Difficulty
Intermediate
Products
Marty V2

On this page

  1. Lesson overview
  2. Before you begin
  3. Warm-up
  4. Get learning
  5. Further challenge ideas
  6. Cool down
  7. Additional reading
  8. Curriculum standards

Additional reading

Connecting with Blocks

Curriculum standards

21
Choose your curriculum to see the relevant standards.

21 of 21 linked standards shown.

Australian CurriculumAustralia3
Curriculum areaLinked standards
Digital Technologies, Design & technologies: Digital Technologies
Mathematics: Number and Algebra - Patterns and algebra

Select a code to read the full standard.

Digital Technologies, Design & technologies: Digital Technologies

  • ACTDIP029Design algorithms represented diagrammatically and in English, and trace algorithms to predict output for a given input and to identify errors

Mathematics: Number and Algebra - Patterns and algebra

  • ACMNA175Introduce the concept of variables as a way of representing numbers using letters
  • ACMNA178Given coordinates, plot points on the Cartesian plane, and find coordinates for a given point
Common CoreUSA1
Curriculum areaLinked standards
Mathematics:

Select a code to read the full standard.

Mathematics:

  • 6.EE.C.9Use variables to represent two quantities in a real-world problem that change in relationship to one another; write an equation to express one quantity, thought of as the dependent variable, in terms of the other quantity, thought of as the independent variable. Analyze the relationship between the dependent and independent variables using graphs and tables, and relate these to the equation. For example, in a problem involving motion at constant speed, list and graph ordered pairs of distances and times, and write the equation d = 65t to represent the relationship between distance and time.
CSTA Education StandardsUSA1
Curriculum areaLinked standards
General standards

Select a code to read the full standard.

  • 2-AP-11Create clearly named variables that represent different data types and perform operations on their values.
Curriculum for ExcellenceScotland7
Curriculum areaLinked standards
Health and Wellbeing: Mental, Emotional, Social and Physical Wellbeing
Literacy & English: Listening and Talking
Numeracy: Number, Money and Measure
Technologies: Computing Science

Select a code to read the full standard.

Health and Wellbeing: Mental, Emotional, Social and Physical Wellbeing

  • HWB 0-14a / HWB 1-14a / HWB 2-14a / HWB 3-14a / HWB 4-14aSocial wellbeing

Literacy & English: Listening and Talking

  • LIT 2-02aTools for listening and talking
  • LIT 2-07aUnderstanding, analysing and evaluating

Numeracy: Number, Money and Measure

  • MNU 2-03aNumber and number processes including addition, subtraction, multiplication, division and negative numbers
  • MNU 3-03aNumber and number processes including addition, subtraction, multiplication, division and negative numbers

Technologies: Computing Science

  • TCH 2-13aUnderstanding the world through computational thinking
  • TCH 3-13aUnderstanding the world through computational thinking
England's National CurriculumEngland3
Curriculum areaLinked standards
Computing, Design and Technology: Computing
Mathematics KS3: Algebra
Mathematics KS3: Geometry and measures

Select a code to read the full standard.

Computing, Design and Technology: Computing

  • ✔️Understand what algorithms are; how they are implemented as programs on digital devices; and that programs execute by following precise and unambiguous instructions

Mathematics KS3: Algebra

  • ✔️Pupils should be taught to: understand and use the concepts and vocabulary of expressions, equations, inequalities, terms and factors

Mathematics KS3: Geometry and measures

  • ✔️Pupils should be taught to: derive and apply formulae to calculate and solve problems involving: perimeter and area of triangles, parallelograms, trapezia, volume of cuboids (including cubes) and other prisms (including cylinders)
Georgia Standards of ExcellenceUSA2
Curriculum areaLinked standards
Mathematics:

Select a code to read the full standard.

Mathematics:

  • 6.PAR.7.3Solve problems by writing and solving equations of the form x + p = q, px = q and 𝑥𝑝 = q for cases in which p, q and x are all nonnegative rational numbers.
  • 6.PAR.8.3Solve problems by graphing points in all four quadrants of the coordinate plane. Include use of coordinates and absolute value to find distances between points with the same x-coordinate or the same y-coordinate.
TEKSUSA4
Curriculum areaLinked standards
Middle School Math: Knowledge and Skills
Middle School Technology Applications: Grade 6 to Grade 8

Select a code to read the full standard.

Middle School Math: Knowledge and Skills

  • 7.10.AThe student is expected to write one-variable, two-step equations and inequalities to represent constraints or conditions within problems
  • 7.10.CThe student is expected to write a corresponding real-world problem given a one-variable, two-step equation or inequality

Middle School Technology Applications: Grade 6 to Grade 8

  • 4.BCritical thinking, problem solving, and decision making. The student makes informed decisions by applying critical-thinking and problem-solving skills. The student is expected to: plan and manage activities to develop a solution, design a computer program, or complete a project;
  • 4.ECritical thinking, problem solving, and decision making. The student makes informed decisions by applying critical-thinking and problem-solving skills. The student is expected to: make informed decisions and support reasoning;

Resources

Learner resources

  • Workbook for You can Depend on MeFile links loading

Educator resources

  • Teacher guideFile links loading
  • Presentation for You can Depend on MeFile links loading

Lesson overview

Users will enter a value and receive a value. The value entered is the independent variable, the value received is the dependent variable. The dependent variable, for this lesson, is affected by one of addition, subtraction, multiplication or division.

Learning objectives

  • I can predict the value of a dependent variable.
  • I can determine the constant affecting an independent variable.

Key vocabulary

  • perimeter
  • equation
  • length
  • width

Prior learning

Experience with expressions and equations

Cross-curricular links

Mathematics - Angles

Before you begin

Equipment

  • Activity pages
  • Marty the Robot V2
  • A device with Blocks to code the equations

Technical information

Pre-Lesson Preparation

Open the Marty the Robot app and build the code, that is described in the teacher guide, in MartyBlocks.

This code will have Marty walk right or left the nunmber of steps indicated by the x variable and then forward or back depending on the entered calculated value for y. The equation used creates x as the independent variable and y as the dependent one.

Save this code in the app and give it an appropriate name so that it can be opened for the lesson.

Warm-up

TimingActivityPossible adaptations
Timing—

Warm-Up

Share with learners the objectives and success criteria for the day's lesson, from slide 2 of the presentation in the educator resource section; perhaps display this before the lesson starts and keep it displayed until another slide is needed.

The slides following the objectives and success criteria show pairs of numbers that are related to to a constant change, via one of the four operations. In their groups, learners need to see if they can determine the change that is occurring between the two values.

The first slide shows 3 12. At this point, learners could think, 'it's adding 9,' or 'it's multiplying by 4.' When you click the slide, a second pair appears, it shows 5 20. Learners will be able to confidently decide whether the change is addition by 9 or multiplication by 4. Clicking the slide again will show 0 (the second number, in this case 0, will be shown by a second click). Ask learners what they think the second number should be. Reveal 0 once ideas have been shared.

There are two examples of number pairs with the process of revealing numbers as outlined above. Feel free to do more of these with learners to warm them up.

Possible adaptations—

Get learning

TimingActivityPossible adaptations
Timing—

Get Learning

Share with learners that there are often equations that are used in our regular, everyday life that we take for granted. Examples can include:

  • bus fares - the total is the number of people in a group multiplied by the cost for each individual
  • pizza - the number of piece each person gets is the number of pizza pieces, in total, divided by the number of people
  • sale prices - the total cost of the goods and subtract the discount
  • age differences - your older siblings will always be older than you by the same number of years and months

Tell learners that they are going to do some predictions today based on code that Marty will run. They will need to see or hear the number of steps Marty takes to the side (along the x-axis) and the number of steps they take forward or back (parallel to the y-axis) from the origin of a graph.

The warm-up showed pairs of numbers, for this work, learners will need to populate a table by counting Marty's steps to the side and forward/back. When they have determined the pattern or constant used to affect the independent variable, they should complete two other pairs of values included in the table.

The last table example shows an equation with either an x or y value. Learners will need to use the independent variable to solve for the dependent one and could use a range of strategies to determine the independent variable from the dependent one, depending on the learning they have had with you.

The final group task shows a grid alongside an equation. The grid is used to show how the equations look with changing independent variables and the resulting dependent variable.

Possible adaptations

Cool down

TimingActivityPossible adaptations
Timing—

Cool Down

Bring learners back together to discuss the challenges they faced and overcame. Have learners share any strategies they used to identify the effect that a constant value had on the independent variable, resulting in the dependent variable.

Suggested questions you might ask:

  • How many coordinates did you need to determine an equation?
  • Were there any values for the x coordinate that you liked to use to determine the y coordinate? Why did you like this one?
  • What did the line drawn on the grid help you to see?

Carry out any end of lesson routines.

Possible adaptations—
—
Timing—

Time for Practice

Learners are to complete the remaining tables of values in groups or individually. If you have Martys available for the class, learners would have the opportunity to check their thinking by creating a equation for Marty to walk the steps as recorded in the workbook. If learners do not have access, it would be a good idea to walk around the room with the Marty, asking about their thinking and testing their equations by running Marty with what they wrote, inputting the independent variables from the workbook.

Learners will note that on the second page of independent work, there are a mixture of empty grids and those with a line drawn on them. These are used to connect the values to the the path of coordinates on the graph. Through using the table and the graph together, learners will more readily see the pattern that exists between the independent and dependent variables. When learners are asked to input the coordinates from the table onto the grid, there are at least two coordinates listed with other partial coordinates to complete. For questions where the line is drawn on the grid, only partial coordinates are included and some of these extend beyond the graph.

Possible adaptations

Support

Remind learners what Marty does to display the x and y values for the equation. x is a sidestep and y is a forward or back step. Bring learners back to the origin and have them count from the start how far they need to move for x (which is whatever the independent variable is that they choose) and how much of a change results in the y, or dependent, variable. Physically moving a pencil, or physically stepping for each of the values, will support the consolidation of this learning.

Further challenge ideas

Extend

Have learners create descriptions for the equations: for y = x - 6, you could say for every x, y is 6 less than this value; for y = 3x, you could say that for every x, y is three times as much.