Let's start by computing what is p*(a), is given by the solution to aggregate demand is equal to aggregate supply but aggregate demand is just going to be equal to the horizontal addition of ten times this which is 100a-10p and aggregate supply is going to be by, given by horizontal addition of this which is just given by 100ap. 