Write SQL query to solve given problem: What is the average price of cars with 8 cylinders?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT AVG(T2.price) FROM data AS T1 INNER JOIN price AS T2 ON T1.ID = T2.ID WHERE T1.cylinders = 8