More Complex Integration Please Help

I'm working through problems on my book and I have one problem, It seems like for the more complex functions they just memorize the table, which to me is pointless if you do not know how to get to the shortcut without using some integration techinque so I have a few problems that I would like a "hint" on what would be the first thing to do like integrations by part or substitution or the best way to expand or break down the integral so I can figure it out on my own

$\displaystyle \int{\frac{1}{3+y^2}}$

I seen one fellow expand the denom. out and have a square root come out I have no clue where that one came from.

$\displaystyle \int{\frac{1}{cos^3x}}$

No idea what to do here, I am not content with memorizing the shortcut or whatever it maybe be called in that table.

Those are all for now