How do you write the rule for:

y=3x+4 for x=8

y=3x+4 for x=8

Put 8 in place of x in the expression to get
y(8)=3(8)+4 = 24+4 = 28

But do make the distinct that
y=3x+4 is a rule, while
y(8)=28 is a particular value of the rule.