Brain bought a t-shirts and spent a total of $30. Each t- shirts cost the same whole-dollar amount. how many t-shirts can have brain bought?