Well first to get to fraction multiply 3/4 by two = so there is 6 /8 of a cup of sugar for every 1/8 of butter so 8X6 = 48 so for every full cup like 8/8 there would be 48/8 cups of sugar or 6 full cups
Put the given information into the formula and solve for the variable of interest. .. V = π*r^2*h .. 24 = π*(h/3)^2*h .. 24 = π/9*h^3 .. 9*24/π = h^3 .. ∛(216/π) = h .. h = (6/π)√(π^2) ≈ 4.097 . . . . units