y=(3/x)-1

How will i find the domain and range?

domain is all values of x where y is defined. Since division by zero is not defined, the domain is all reals except x=0

the range is all reals except y = -1. In order for y = -1, 3/x must be zero, and that never happens.