The ratio of pay for working hours is:

Then the proportion to find how much do you make in 8 hours is:

And now we need to solve for x:

Thus, you make $128 in 8 hours.
b. The ratio is the same, what changes is the proportion:

Now, solve for x:

You make $192 in 12 hours.