CREATE TABLE table_name_50 (opponent VARCHAR(255), date VARCHAR(255), score VARCHAR(255))
Name the opponent for jul 31 and score of w 5-1
    
SQL: SELECT opponent FROM table_name_50 WHERE date = "jul 31" AND score = "w 5-1"