Hmm..
That's from NFX's Dr.Dre Beat Recipe hehe ^^ I also don't really digg the samples(not all of them).. anyways, keep trying man, and try to find out you're own melodies by just playing on a keyboard. With the note you start, also end with that.
Good luck further :)