For this case we have to:
1 megabyte is defined as
bytes
1 gigabyte is defined as
bytes
We want to know how many megabytes there are in a gigabyte. For this we divide:

By power properties we have:

So we have that in a gigabyte there is one megabyte plus one kilobyte.
Checking:

Answer:
1 megabyte