The first is wrong: you cannot contemplate something "to" someone. The second one is possible, meaning that your contemplation is on behalf of, or for the benefit of, someone else. However, I suspect that "contemplate" is the wrong word.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
youssefdirThe company is small so there is a team.There are many solutions to cover the customer needs, so the research team will think thoroughly of an optimum one."contemplate" has the wrong connotations for this situation. Perhaps one of these would be suitable: