Check the composition settings It looks like you have th comp set to 10 frames, not 10 seconds.
Since you are new please go to the After Effects product page run through at least a few of the how to use tutorials there. AE is unlike any other app you have ever used and you'll be wasting way more time than it takes to figure out the basics by going through some of the Learning materials Adobe provides.
One more note. Be very careful to vet the folks that offer up YouTube tutorials on AE. The number of bad tutorials that teach poor techniques and lead you down dead end paths is increasing at an alarming rate. I've see a few recently that teach techniques that just don't work. There's more junk on YouTube right now than there is good instruction so make sure you figure out who your trainers are before you take their advice.