Let m = the mass of the softball.
Then the mass of the basketball is 3m.
By definition, momentum = mass * velocity.
If both the softball and basketball move at the same velocity, v, then
Momentum of the softball = mv
Momentum of the basketball = 3mv
Answer: The momentum of the basketball is 3 times that of the softball.