Why are the shaving mirror concave while the rear view mirror convex? Draw

the ray diagrams to support your answer.