which river flows through u . s . route 40 in maryland and also through wrightsville dam ?
SELECT DISTINCT var_uri where brack_open dbr_U.S._Route_40_in_Maryland dbp_river var_uri sep_dot dbr_Wrightsville_Dam dbo_river var_uri brack_close