If P=(a,a) is a point on the line

y=−2x+27,
what is the value of a?

Substitute (a,a) to x and y:

a = -2a + 27
3a = 27
a = 9

Hope this helps~ :3