Lines can be presented in several ways e.g. this line can be correctly presented as x - 2y = -4 OR x = 2y - 4 OR flip L/R 2y = x +4 and y = x/2 + 2 This format is commonly understood as y = mx + c (m is the coefficient of x and c is a constant number). This is the best format for you to understand the dynamic plotting of line B in Scratch. To Do: First set the minimum value in the slider domain for X. Then press SPACE and watch the line draw through each f(A) point (shown with a red dot) while the domain value (green X) increases.
This project as presented here is made possible with a vector grid backdrop from Ready-Steady-Code See www.readysteadycode.ie /OR/ www.readysteadycode.co.uk If you prefer a graph paper backdrop download from https://scratch.mit.edu/projects/75288402 Try it on paper / Try it in Scratch Seamus O'Neill©2018