name the river passing through muirkirk and has mouth place at ayr ?
SELECT DISTINCT var_uri where brack_open var_uri dbo_city dbr_Muirkirk sep_dot var_uri dbo_mouthPlace dbr_Ayr sep_dot var_uri a dbo_River brack_close