ChatGPT and math doesn't go well together unless you use a plugin
They use this equation as you suggested (but not with exactly 27 and 25):
Horizontal: https://www.wolframalpha.com/input?i=2560%2F(27%2F25)
Vertical: https://www.wolframalpha.com/input?i=1440%2F(27%2F25)