In order to find what percentage of a number a different number is, all we have to do is divide the second number by the first number.
45 / 150 = 0.3
To find a percentage based off of a decimal, you simply have to multiply the decimal by 100, or (my personal shortcut) just shift the decimal point over two places to the left.
0.3 = 30%
45 is 30% of 150.
Hope that helped! =)