# Does this question violate any of the community rules?

I'm new to Cross Validated SE. I've asked this question and got 2 down votes. So, I'm asking if it was an off-topic question or if there is a better way to ask it.

I'm not sure that your question deserves two downvotes. Your question is from a course or textbook, so it qualifies as 'homework' for our purposes. You should add the [self-study] tag & read its wiki. That said, you certainly don't hide that fact, and aren't just after the answer / someone to do your homework for you. You do tell us what you understand thus far, what you've tried & where you're stuck, which is what we request.