You can put this solution on YOUR website! The way you have written this problem makes no sense. Given am+cn? am+cn equals what? Also, was there a figure included?
Now, if you just made a mistake typing and meant:
Given and then prove , then there is no solution. That is because with the given relations, in general. It can be proven that however.