You may want to review writing intervals first.

You need to know how to understand an interval if you see one. Fortunately, if you know how to write one, you should be able to understand them. Just use the table on this page in the other direction. That is, see which pattern on the right matches and then write whatever you see on the left.