A company owns two dealerships, both of which sell cars and trucks. The first dealership sells a total of 164 cars and trucks. The second dealership sells twice as many cars and half as many trucks as the first dealership and sells a total of 229 cars and trucks. The system of equations below represents this situation.
{x+y=164}
{2x+12y=229}