how would you write this in algebra