X is partly constant and partly varies as y when y =2,x=30 and y =6, x=50 find the relationship between x and y

x = my + b

So, using the given points,
30 = 2m+b
50 = 6m+b
So now just solve for m and b

Maths

PLEASE I NEED ANSWER

To find the relationship between x and y, we need to analyze the given information about how x is partly constant and partly varies with y.

Let's start by considering the constant part of x. We know that when y is 2, x is 30. This means there is a fixed value of x regardless of the value of y. Therefore, we can say that when y is less than 6, the constant value of x is 30.

Now, to find the part where x varies with y, we can subtract the constant part from the given data points. When y is 2, x is 30 (the constant part). So, when y is 2, the varying part of x is 0 (30 - 30 = 0). Similarly, when y is 6, x is 50 (the constant part). Therefore, when y is 6, the varying part of x is 20 (50 - 30 = 20).

By analyzing the data, we can see that the varying part of x increases by 20 units for every increase of 4 units in y (from y = 2 to y = 6).

Thus, we can summarize the relationship between x and y as follows:

x = 30 + 5y

In this equation, 30 is the constant part of x, and 5 (20 divided by 4) represents the rate at which x varies with y.