Bill and Mary went to a basketball game. At the concession stand, Bill bought 3 hotdogs and spent another $1.75 for a bottle of water. Mary spent $4 on a pair of sodas and also bought 2 hotdogs. If x represents a number of hotdogs, write the equation that would result if Bill and Mary each spent the same amount of money on their respective trips to the concession stand.