Here's what you need to do:
We know that Ryan can install 144 square feet of flooring in 3 hours.
So, if we take 144 square feet, and divide by 3 hours, 144 / 3, we end up with 48, meaning Ryan can install 48 square feet of flooring every hour.
Then, simply multiply 48 by 18, 48 x 18, and you end up with 864.
Meaning, in 18 hours, Ryan can install 864 square feet of flooring.
Answer: 864 square feet.