First of all, you know that the point belongs to the function.
Here is a first equation involving a & b.
Then, as there is a maximum at this point, the derivative is null here. So find the derivative for y by x.
(used the product rule)
So do the same as in the first part.