Nate and Maya are building model cars. Maya's car is 3 inches less than 2 times the length of Nate's car. The sum of the lengths of both cars is 26 inches. Write an equation to determine the lengths of Nate's and Maya's cars.

x + 3 βˆ’ 2x = 26
x + 2x = 26
2x βˆ’ 3 = 26
x + 2x βˆ’ 3 = 26