Write SQL query to solve given problem: What is the average duration of bike trips in the city of Palo Alto?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT AVG(T1.duration) FROM trip AS T1 LEFT JOIN station AS T2 ON T2.name = T1.start_station_name WHERE T2.city = 'Palo Alto'