Please help, i am struggling with these questions for revisions, and your solutions would be invaluable to me.

Need to find the answers to these questions WITHOUT L'Hopital's rule

A) lim x-> 0 (x^2 + |x|) cos (pi/x)

B) lim x->0 ((e^(2x) - 1)/(e^(3x) - 1))

thank you in advance!