Zend certified PHP/Magento developer

How do we calculate image size in computer’s memory with compression?

I’m about to take my ICT exam and wanted to make sure the way I’m calculating image size in computer’s memory with compression is correct.

Question example:

You have the following information about the image:

Width – 1920 px

Height 1080 px

DPI 300

Color depth – 24 bit

Compression 10%

What is the size of the image in computer’s memory in Megabytes? Round mathematically to 2 decimal places! (1MB = 1024KB)

Answer: 1920×1080×24×0,9/8/1024/1024=5.3

Is this correct? Thank you for the answer in advance!

enter image description here