Okay, I just started AP Calc at school and I'm confused about how to determine limits by substitution and to support it graphically. I know this is probably really simple but I need help.

Problem: lim 3x^2(2x+1)

x approaches -1/2

Problem #2: lim e^x cos x

x approaches 0

Thanks for your help, ahead of time!