"I too have just started knitting again after a long time, and I'm having a problem - one of the patterns I'm trying to work has a YO P2, I can't seem to get this right and end up short of stitches at the end of the row. Can you help?"
There's a great video for YO
s under the Free Videos tab at the top of this page, Increases. The initial demo is for a YO between knit sts but the video ends with a demo of YO before a purl st which is more similar to your situation. If you do it that way, and make sure you don't forget a YO, your st number should turn out ok.
I think your question got buried here. Probably "How to" would be a better place for a quicker answer to these kinds of questions.