Final answer:
To graph the function y = 2x for the domain D:(-2,0,2,4), calculate and plot the corresponding y-values for each x-value, then draw a straight line through the points and label and scale the graph correctly.
Step-by-step explanation:
To graph the function y = 2x for the given domain D:(-2,0,2,4), we need to calculate the corresponding y-values for each x-value in the domain. For x = -2, y = 2*(-2) = -4. Plot this point on the graph. Next, for x = 0, y = 2*0 = 0. Continue this for x = 2 and x = 4, getting y = 4 and y = 8 respectively.
After plotting all these points, we can draw a straight line through them to complete the graph. Remember to label the graph with f(x) for the y-axis and x for the x-axis, and scale the axes accordingly.