y' = - cos (pi - x)
Substitute x = pi/6 for the gradient.
y' = -cos (pi - pi/6) = - cos (5pi/6) = - (-sqrt(3)/2) = sqrt(3)/2
Point gradient formula is: y - y_1 = m (x - x_1)
Substitute (x_1 , y_1) = (pi/6 , 1/2) and m = sqrt(3)/2
y - 1/2 = sqrt(3)/2 (x - pi/6)
Multiply both sides by 2:
2y - 1 = sqrt(3) (x - pi/6)
Arrange to make it either general form (ax+by+c=0) or gradient/intercept form (y=mx+b)
And exact form means leave exact numbers (root 3 in this case) instead of having decimal points.