Florida's coastline is 118 miles shorter than four times the coastline of Texas. It is also 983 miles longer than the coastline of Texas. Find the lengths of the coastlines of Florida and Texas.