It's a linear function. We need only two points to draw a graph.
We choose any values of x and calculate the value of y.

for x= 0 → y = 3(0) - 1 = 0 - 1 = -1 → (0, -1)
for x = 2 → y = 3(2) - 1 = 6 - 1 = 5 → (2, 5)

for x = 0 → y = 3(0) - 1/3 = 0 - 1/3 = -1/3 → (0, -1/3)
for x = 2 → y = 3(2) - 1/3 = 6 - 1/3 = 5 2/3 → (2, 5 2/3)
Use the Pythagorean theorem to find z:
z = √(6^2 + 9^2)
z= √(36 + 81)
z = √117
z = 3√13 = 10.8
Use leg rule to find x:
x/6 = 6/9
Cross multiply:
9x = 36
Divide both sides by 9:
x = 36/9
x = 4
Use Pythagorean theorem to find y:
y = √(6^2 + 4^2)
y= √(36 + 16)
y = √52
y = 2√13 = 7.2
The answer is 5x-59
To get this answer you have to follow pemdas and remember you can’t add variables to non variables, so you just expand the equation
As an example
5x + 6 -2x +7
You would get
13-3x
1/4x+4/4x = -6/2x+1/2x
5/4x = -5/2x
x=0