Writing proportional equations