First, we have to convert 40% to a decimal:
40% = 0.40
so next we just simply multiply the numbers:
45
x.40
once completed it comes out to be 18. So the answer to your question is 18.
Hope this answer helps! feel free to ask any additional questions :)