So if we want the ratio of flour to butter in fraction form, we want the amount of butter to be on top:
However, it needs to be in simplest form, which means not a complex fraction. To make it a simple fraction, multiply the numerator by the reciprocal of the denominator:

So, the ratio of flour to butter is

(the text in the fraction formatted weirdly, sorry about that)
Hope I helped, and let me know if you have any questions :)