This question is posed under the topic precalculus, but likely you need some calculus to solve this problem, i.e. find the first derivative of the function in order to find a formula for slopes of tangent lines to the graph of the given function.
Let (a, y) represent the point of tangency (on the graph of the function. That point can be represented in terms of a as (a, 1/2 a2 - 6a + 30). The slope of a line passing through that point and (7, 8) based on the formula for slope between two points is: (1/2 a2 - 6a + 30 - 8 ) / (a - 7).
The derivative of f(x) is x - 6. So the expression above for slope at a point with x-coordinate "a" is a - 6. Those two expressions must be equal.
Set up and solve that equation for "a". There will be two solutions. Since "a" represents the x-coordinate of the POT, you could substitute that value(s) into f(x) to get the y-coordinate, but that is not necessary to find the equation of the tangent line(s).
The equation of the tangent line will be y = f'(a)(x-7) - 8. (using (7,8) in the point-slope formula.
Once you have completed the above, check your work here:
desmos.com/calculator/hwqd5bx4uq