(1) according to the meaning of the question, you can get
4x - (25-x)* 1=90
x=23
(2) The same formula
4x - (25-x)* 1=60
x= 17