Welcome to the site! Unfortunately, whoever directed you here gave you some misguided advice, since the purpose of this site is not really to provide people with homework help. We prefer to focus on the kinds of questions that a student or researcher might ask simply because they're interested; for example, clarifying a confusing paragraph in a research paper or explaining an apparent inconsistency in a textbook's explanation of some concept. (That's not an exhaustive list, just a couple of examples of the kinds of questions we prefer to handle.)
If what you really want is to get help with a homework problem you're working on, it's probably best for you to try somewhere else that's more focused on giving that kind of help. You can sometimes get that help in our main chat room or a dedicated problem solving strategies room, if you have access to chat. (That requires a certain amount of reputation on the Stack Exchange network.) Otherwise, you might try something from our list of other sites that deal with physics and may be able to handle questions that are off topic here.
In some cases it is possible to ask a question that will get you the help you need with your homework in a way that still fits on this site. There's some information about how to do that in our policy on homework-like questions, but it can be tricky to get the question in the right form without some help. If you want to try that, that's definitely something you could ask about in the chat room (again, if you have access) or on this meta site. The main restriction is that you should quote the homework problem you're working on, but don't ask for the answer to that problem itself. Instead, narrow it down to some specific conceptual issue that you can't figure out, e.g. something that might be useful to other people doing other problems, and ask about that. You would need to summarize the work you did to narrow down the original homework problem to the specific question you're asking, and also show that you made some effort to figure out that specific question yourself before you came to us.