okay doing logarithms and exponentials, i have to solve for x

im having trouble with 2 of these problems

1. e^4x - e^2x - 30 = 0

i know i have to use the quadratic formula for this one and it was going well until i tried to factor them all out. i got to here: (e^2x)^2 - e^2x - 30 = 0

how do i factor them out?

2. log(4x) - log(12+ square root of x) = 2

to me that just looked flat out intimidating =/