We have two logarithmic equations to solve:
log2(5+log3a)=3
log5(4a+12+log2b)=3
When we see logxy=z, it means xz=y. This is the fundamental relationship we'll use throughout.
Starting with: log2(5+log3a)=3
We're asking "2 raised to what power equals (5+log3a)?"
Since the answer is 3, we have:
23=5+log3a
8=5+log3a
log3a=3
Now we have another logarithm to solve: log3a=3 means "3 raised to what power equals a?"
a=33=27
Starting with: log5(4a+12+log2b)=3
We're asking "5 raised to what power equals (4a+12+log2b)?"
Since the answer is 3:
53=4a+12+log2b
125=4a+12+log2b
Substituting a=27:
125=4(27)+12+log2b
125=108+12+log2b
125=120+log2b
log2b=5
Solving this logarithm: log2b=5 means "2 raised to what power equals b?"
b=25=32
We now have:
a=27
b=32
Therefore:
a+b=27+32=59