If the angles of a five-sided polygon are in the ratio of 2:3:3:5:5, what is the measure of the smallest angle?