The domain of a log function must always be greater than 0. This means you can solve what is being taken to 0 and find values for which the domain cannot be:

Using your first example:

This is the difference of two squares with a = 6 and b =x

Therefore values between -6 and 6 is the domain, to put it another way:

or