Well, since they have been so nice and given you the solution I guess you can assume that it will be on the form , where A and B are constants.

From here it is just put substitute the terms in the equation that is given, with the right hand sides here, and solve the equation

Unfortunately, you have two unknown but only one equation, so you are one equation short. I guess something is missing in the problem statement.