show me step by step how to find the domain of this function then graph it

g(x)=2x-4

The domain of a function is the set of all possible input values which allows the function formula to work.

In this case your function are straight line.

Domain of straight line : (-infinity,infinity)

OR

all values of x

For graph find any two points eg.

x = 0

g ( x ) = 2 * 0 - 4 = 0 - 4 = - 4

x = 1

g ( x ) = 2 * 1 - 4 = 2 - 4 = - 2

OR

In google type:

function graphs online

When you see list of results click on:

rechneronline.de/function-graphs

When page be open in blue rectacangle type:

2 x - 4

Then click option : Draw

You will see graph of your function