It is pretty apparent that in both of these questions, the user was legitimately asking for help after he/she tried the problem him/herself
The current status of the HW policy is that even if work is shown, it still needs to be conceptual. Quoting the summary at the top of the policy,
It's not enough to just show your work and ask where you went wrong. If you just need someone to check your work, you can always seek out a friend, classmate, or teacher. As a rule of thumb, a good conceptual question should be useful even to someone who isn't looking at the problem you happen to be working on
Please don't say that they don't contribute anything to the community. Does that mean reading solved problems can't teach you anything? I guess all the Physics textbooks should stop printing solved examples then.
This site is not a physics textbook. People don't read it like one, they come to it by searches and homework problems are rarely found in the same form (the generic titles don't help), so these are pretty useless for this site. What may be useful for a textbook need not be useful for this site.
If the questions can be rewritten to be explicitly conceptual (instead of just showing a problem and a partial solution), then they can be reopened.
Oh, and both of them were closed after I answered, did that have anything to do with it?
No, but you shouldn't answer such questions in the first place.