Answer:
The point-slope form of the equation of a line is given by y - y1 = m(x - x1), where (x1, y1) is a point on the line and m is the slope of the line. In this case, we have a point (-1,-2) and a slope of 3. Substituting these values into the equation, we get:
y - (-2) = 3(x - (-1))
Simplifying this equation, we get:
y + 2 = 3(x + 1)
So, the equation for the linear function whose graph contains the point (-1,-2) and has a slope of 3 is y + 2 = 3(x + 1).