Answer:
-7
Step-by-step explanation:
-2x+1=5x+2
add -5 to both sides
-7x+1=2
add -1 to both sides
-7x=1
x=-7