The slacker's way is to use l'Hopital's Rule.

Otherwise you could substitute the Maclaurin series for cos(3x) and cos(4x), simplify the numerator and then cancel the common factor of x. Then take the limit.

Alternatively, you could probably do a clever re-arrangement and get standard forms whose limits are well known. But why hoe the hard road?