What is the rule for the function

x= 4, 5, 6, 7, 8
y= 8, 15, 24, 35, 48

Got it!

Y= x(x-2)