The diagram is not correct for a regular hexagon and regular pentagon. If they share a coordinate, they can not share the opposite side.
Anyhow, from the diagram it seems you are asking for the internal angle of a regular pentagon which Thalia has answered. But then why is the hexagon in the picture? Something is missing. Please clarify.