If the parking area is a circle, there are $4!$ ways to have the cars permuted. As the cars must all be parked next to each other, they form a "block" of $4$ cars. Pick an arbitrary car. There are $10$ possible positions it can take in the circle. Thus, the amount of ways is $4! \cdot 10 = 240$.
* * *
If the parking area is a row of $10$, again there is $4!$ ways to permute the order of the cars. The cars form a contiguous "block" of $4$. Pick the leftmost car. It may be in positions $1,2,3,4,5,6,7$(it can't be $8,9,10$ because there are $3$ cars to the right of it). These give $7$ total placements of the block of four. Thus, the amount of ways is $4! \cdot 7 = 168$.