I am trying to solve few questions though I know there answers I am not able to figure out the solution. I have tried to apply L'Hopital Rule as well as e^(ln) way for solving it but I am not obtaining desired answers. Your help will be much appreciated. Thank you. Here are the questions with their answers
1- $\lim_{x\to\inf}(1-\frac{4}{x-1})^{3x-1}$$=e^{-12}$
2-$\lim_{x\to2}\frac{2^x-x^2}{x^x-2^2}=\frac{log2-1}{log2+1}$
The first one is a very standard limit. Note that $(1-\frac{4}{x-1})^{3x-1}=((1-\frac{1}{\frac{x-1}{4}})^{\frac{x-1}{4}})^{(3x-1)\frac{4}{x-1}}$. Can you finish from here?
For the second one just use L'Hopital rule once. To differentiate $x^x$ write it in the form $x^x=e^{xlnx}$.