Transaction recovery and rollback
Assuming that R means Read and W means Write, then the work you're proposing is like this:

W1(x) C


That's it. Reads  are irrelevant for recovery. And a crash denotes the end, you can't have a write after crash. So the task of recovery is to redo the one write and then undo it, since there is no Commit.

The algorithm is very simple:


Redo everything, in forward order
Undo anything not committed, in reverse order, generating a compensating write for every action being undone.


A good explanation is the ARIES paper.

See also How to read and interpret the SQL Server log on my blog.