Catherine studied 1.25 hours for her science test. This was 0.5 hours less than she studied for her algebra test. Write and solve a subtraction equation to find how long she studied for her algebra test.