The equation of the line can be shown using the slope intercept form that is
y= mx+b
where m is the slope and b is the y intercept
So firstly we have to find the value of slope m
To find the value of slope m we apply the formula

So we can plug the values using the two given points
(-0.5,0.75) and (0.75,-0.5)

So m = -1
Plug m=-1 in the equation we get
y= -1x +b
Now we have to find the value of b
to find the value of b , we plug any one pint in the equation
0.75 = -1(-0.5) +b
0.75 = 0.5 +b
Subtract 0.5 from both sides
0.25 = b
or
b= 0.25
Now plug the value of b , in the equation
we get
y = -1x +0.25
hence the equation of the line is y = -1x +0.25