Answer:
(1) Required function is
. (2) Slope of line is
.
Explanation:
1)
The function passing through (-3,9), (-1,3), (0,0) and (3,-9).
From these points it is noticed that the value of function decrease by 6 if the value of x increases by 2 and y-intercept is (0,0).

Slope intercept of a line is

Where, m is slope and b is y-intercept.
So, function is defined as


The required function is
.
2)
It is given that the line joining two points (10, 9) and (40, 3).
Slope of line is


Therefore slope of line is
.