Can you provide a link to the full project please? Your screenshot only presents a small snapshot of the project’s tasks.
I would assume that at some point before then, you’ve either been asked to create a function called
get_y() which computes the line equation or it has been done for you and it’s function explained.
get_y() to get the y-value that
x_point would be on the line
is just asking you to use that function,
get_y(), with the appropriate parameters for
b to compute the expected value for y.
x_point = 3 # you are getting this value from the "point" variable, but i'm setting it to 3 for the purposes of this example
gradient = 2 # the "m" term in the equation of a line is its gradient
intercept = 4 # the "b" term in the equation of a line is its intercept, or the point at which it crosses the y-axis
# so, if we know these parameters, instruction #3 would be to call "get_y()" with these parameters:
calc_y_point = get_y(gradient, intercept, x_point)
print(calc_y_point) # output: 10 (y = mx + b -> (2 * 3) + 4 -> 6 + 4 -> 10)