From the graph, we can see that the angle of deviation is same for angle of incidences 15∘and60∘ .
The deviation also remains same if we interchange angle of incidence and angle of emergence.
If angle of incident is i and angle of emergence is e , then deviation δ through the prism is given by, δ=i+e−A⇒30∘=15∘+60∘−A⇒A=45∘