A triangle has three sides of length x, x+4, and 2x-1. The perimeter of the triangle is 27.
What are the three side lengths of the triangle?