For example "my class" - are the syllables in this "mike" and "lass" or "my" and then "class", another one is "recent" - are the syllables "reese" and "ent" or "ree" and "sent"?
Are you trying to deduce correct syllabication from the spelling of the words? Putting aside the fact that English is a horrible language to spell, syllables work on the sound level. So you pronounce the word first and separate it later. You need to do all of that in your ear. Your eyes won't help you.
recent -> ˈriːsənt -> ˈriː + sənt