The GCF Of two numbers Is 3 and Their LCM is 180. if one of the number is 45, then find the second number?

GCF*LCM = 3*180 = 540

one of the factors is 45, so the other is 540/45 = 12

check:
12 = 2*2*3
45 = 3*3*5
GCF = 3
LCM = 2*2*3*3*5 = 180

my answer is correct