I'm not sure if I'm asking this question right, but I'm trying to figure out how to convert from one ratio to another and change a value (X) as a result of that change.

For instance, if X = 5 for the ratio 1/4, how do I figure out what would X be if that ratio was changed to 1/10?