The radius is half the diameter... Is there a picture?
Slope intercept form
y=mx+b
where the slope is m and b is the y intercept
the slope is needed
slope between (x₁,y₁) and (x₂,y₂) is (y₂-y₁)/(x₂-x₁)
so,
given (4,5) and (8,9)
the slope is (9-5)/(8-4)=4/4=1
y=1x+b
find b
input a point
(4,5)
x=4 and y=5
5=1(4)+b
5=4+b
minus 4 both sides
1=b
y=1x+1 is slope intercept form
2/3
2/6 is equivalent to 1/3 and 1/3 + 1/3 is 2/3
The wrong amplitude and trigonometric ratio were used in the first equation, as you can see.
I am joyous to assist you anytime.