Please help I don’t remember how to do this

Answer:
X=150
Step-by-step explanation:
since Y varies directly with X that means when one changes value, the other changes by the same value
Y=3
X=10
Set up an equation
N represents the number X equals after it changes value
3/10=45/N
cross multiply
3N=450
N=150