Divide the number of each atom by its smallest subscript:
Carbon: 10 / 5 = 2
Hydrogen: 25 / 5 = 5
Oxygen: 5 / 5 = 1
Hence, the empirical formula for the compound is C2H5O.