air flow meter on 1999 Toyota Corolla

where does the air flow meter or the coolant temperature sensor go

2 answers
What trouble codes do you have?
This car uses a three wire Manifold Absolute Pressure sensor (MAP sensor) located on the top of the intake manifold near the throttle butterfly housing. Yellow, light green/red and black/red wires on it.
Coolant temp switch is located on the cylinder head oil filler cap side of engine two wire sensor (white wire and the other wire is black/red).
Don't replace parts unless they are proven defective!