Ryan Tannehill threw two touchdown passes and the Miami Dolphins withstood a late rally by the St. Louis Rams to win 17-14 Sunday.