The length of OG is 9.
To find this, take the given perimeter and subtract the two other side lengths.
Perimeter - DO - GD = OG
25 - 6 - 8 = OG
9 = OG