The y/x in the cos should ring a bell, as well as the factor x before the y'. To get the y' isolated, dividing by x makes another y/x of the first term on the RHS (the y).
It's a bit looking and trying
Ok if you find it to be slightly difficult to 'see' the kinds of manipulation are required then the following might help. If you've just started ODEs then it's unlikely that that you will be dealing with a large variety of DEs. The first few types that you usually learn are separable, first order linear and homogeneous (some textbooks call a whole bunch of different DEs homogeneous but don't worry too much about that if you're just starting out). So basically try to write the DE in the standard first order linear form. If you can't then try to separate variables. Can't do that? The chances are that it's homogeneous. It doesn't matter if it doesn't look homogeneous, just make the substitution y = vx and the algebra will sort itself out.
The above 'advice' only really helps if you've just started doing DEs. It tends to become a little impractical to deduce the form of the DE during an exam situation once you start learning more ODEs. This is especially true when the assignment/test/exam setter decides to be tricky and put in a question which is neither linear, separable or homogeneous. It happened on my last assignment. By the way, there's no need to be so humble about your abilities. These questions become quite easy (in general) once you've done a lot of them. A trap is to just watch someone else do the question and not do any yourself. The difference between my math and physics scores illustrates this point. ;)
Edit: Perhaps you could fill us in on the material that you've covered. Sometimes you might just come across questions that you can't do because you've never seen questions of that type before.
hmm... you're right! i'm starting D.E's... i'm studying O.D.E's on my own, because i think it's a very important application in science~
right now, i'm looking at engineering mathematics by kreygzig, and having a little trouble trying to understand~