A cab driver charges $3 for distance under 5 km and if distance increased by 5 km then for subsequent distance it charges $1/km.
A person books cab and he travelled x km and pays $y to cab driver. Formulate this situation in linear equation in two variable.