The scientist had a 35% saline solution that he mixed with 10 milliliters of a 75% saline solution to get a 40% saline solution. How many milliliters of the 35% solution were used?