Multiply both sides of the each equation in order to get the coefficient to be an integer.
45=1/2a-3
45=1/2a-3