Zach and Ginny are building model cars. Ginny's car is 2 more than 3 times the length of Zach's car. The sum of the lengths of both cars is 30 inches. Write an equation to determine the lengths of Zach's and Ginny's cars.
3x + 2 = 30
x + 2 + 3x = 30
2x + 3 = 30
x + 2x + 3 = 30