The perimeter of a triangle is 117in. The lengths of the sides are represented by consecutive integers. Find the lengths of the sides

The perimeter is 117in. The sides are consecutive integers. By the picture, we can see that one of the sides is x.
Step 1: Naming the sides
The sides are going to be x, x+1 and x+2, as the answer says they're consecutive integers.
Step 2: Finding the sides
Adding the 3 sides will allow us to finbd them, as we know the perimeter:
x+x+1+x+2=117
3x+3=117
3x=117-3
3x=114
x=38
So, the sides are:
38in, 39i and 40 in