How can I get the length (brown marked part) of the "Road 7" inside the red polygon?

My start:
SELECT ST_Length(way) FROM lines WHERE road = "Road 7" AND ST_Intersects(line, polygon)?
With that, I get only the total length :( Someone has an idea?